Commit Graph

2231 Commits

Author SHA1 Message Date
rassilon 37547667de Paste in some more CEF docs. 2015-03-25 22:46:15 -04:00
rassilon fafc0ad2d5 Fix #884 by adding sourceUrl parameter to OnBeforePopup .Net callback. 2015-03-25 22:30:24 -04:00
amaitland ea2ad1036a Assert not Asset - fix typo 2015-03-25 14:27:32 +10:00
amaitland 3a47bbbedd Added IsWindowsXp special case (It's not the best code in the world, don't think it's worth spending too much time on though)
Use Path.Combine instead of manual string concat
2015-03-25 13:53:47 +10:00
amaitland 475067bdfa Reorder method params (move packLoadingDisabled to second param) 2015-03-25 12:11:15 +10:00
amaitland b12f131e9f Re-add LocalesPackFile default param value (moved to end of function) 2015-03-25 12:09:57 +10:00
amaitland 76ea44930a Add packLoadingDisabled check 2015-03-25 12:06:50 +10:00
amaitland be41287497 Refactor to pass params directly in from CefSettings - make life easier then implementing checks in Cef.Initialize() 2015-03-25 12:05:11 +10:00
amaitland a9762bbb5f Add optional bool for checking dependencies 2015-03-25 11:48:12 +10:00
amaitland 36ea815fe2 First attempt at splitting out into required/optional dependencies
Based on https://github.com/cefsharp/cef-binary/blob/master/README.txt
2015-03-25 11:46:09 +10:00
amaitland a188b862c4 Refactor code so now AssetAllDependenciesPresent throws an exception if dependencies missing
Error message needs some work
2015-03-25 11:34:35 +10:00
amaitland a17b145968 Expand Locale support to check CefSettings for user specified values
For now code is in `CefExample` will eventually be moved into `Cef.Initialize()`
2015-03-25 11:19:44 +10:00
amaitland 2b8923813c Allow for full locales path 2015-03-25 11:12:58 +10:00
amaitland 591b47775b Move localePackFile param with default value to first overload of CheckDependencies
Plan is to use `CefSettings.Locale` and `CefSettings.LocalesDirPath` to infer the users local preferences
2015-03-25 11:08:02 +10:00
amaitland 8a7b9e2adb Untabify 2015-03-24 11:05:38 +10:00
amaitland 0eda96841c Add rough draft of DependencyChecker - loops through list of all Cef/CefSharp dependencies 2015-03-24 10:58:43 +10:00
amaitland 6c60da63c8 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-23 08:49:45 +10:00
amaitland ddb725ef53 Add very rough description of JavascriptCallbackProxy - should be enough to give at least the basic idea of how it fits together 2015-03-19 11:25:46 +10:00
amaitland f4b3a462b9 Merge remote-tracking branch 'remotes/upstream/master' into feature/jsb-callback 2015-03-19 11:20:48 +10:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
dimas bc56e2f91f Adding comment for the IsMainFrame parameter 2015-03-18 15:02:10 +08:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
amaitland ef21c492b6 Update CefFileDialogMode to reflect new values 2015-03-18 11:19:26 +10:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
Jan Kurianski d9e272c4d8 Merge pull request #877 from numbersint/fixes/more-error-codes
Added many missing error codes to CefErrorCode.cs
2015-03-12 15:37:40 +11:00
jankurianski bb2a7d0345 Added many missing error codes to CefErrorCode.cs
From Chromium's net/base/net_error_list.h.  Also added a comment to
indicate where the error codes were sourced from.
2015-03-12 14:35:08 +11:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
amaitland 886e303893 As we don't have control over the lifecycle of the Surrogate or EndPointBehaviour I think it's easier just to pass around a WeakReference 2015-03-12 11:32:35 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland c8d9272508 Rename JavascriptCallback to JavascriptCallbackProxy 2015-03-12 11:26:46 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +10:00
amaitland a09767b72c More descriptive naming of WeakReference
Also check if channel state is Opened before trying to release callback
2015-03-11 11:57:26 +10:00
amaitland e614bcac54 Expose DisposableResource to WCF (makr with [DataContract]) 2015-03-11 11:49:46 +10:00
David Serfozo 9775b438bd dispose fix in CefBrowserWrapper, JavascriptCallback modified to inherit from DisposableResource 2015-03-09 23:57:25 +01:00
David Serfozo 4468961b5e reverted formatting issues, removed entry from DotSettings and fixed copyright notice 2015-03-09 20:19:01 +01:00
David Serfozo 462c4c0f98 weakreference for browserprocessservicehost in javascriptcallback 2015-03-08 22:33:44 +01:00
David Serfozo 0644cf1c18 added actual callback code on browserprocess side and IJavascriptCallback 2015-03-08 16:15:41 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
David Serfozo 754bf3f913 added browserprocess side of javascriptcallback and wcf classes for conversion 2015-03-08 13:18:20 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00
Alex Maitland 6fca20b632 Merge pull request #857 from rassilon/CleanupResourceHandler
Rename IResourceHandler to IResourceHandlerFactory.
2015-03-05 18:26:58 +10:00
James 44fa52cc96 Update ResourceHandler.cs
Missing mime type for svg added
2015-03-05 14:57:27 +08:00
rassilon 9ebe4fcdc2 Hopefully the last of the IDE overzealous comment renaming. 2015-03-03 01:44:19 -05:00
rassilon 6d8f8866b0 Rename files to new name. 2015-03-03 00:19:52 -05:00
rassilon be06762512 Correct over zealous renames in comments. 2015-03-03 00:15:44 -05:00
rassilon a04d3c6eb8 Rename IResourceHandler to IResourceHandlerFactory. 2015-03-02 23:08:04 -05:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
amaitland aada02c356 Add ScreenInfo class to represent Width/Height/ScaleFactor 2015-03-02 10:40:01 +10:00
Bjarte Skogøy f8c242e88d Use device scale factor to support higher DPI on WPF 2015-02-25 09:31:58 +01:00