Commit Graph

6179 Commits

Author SHA1 Message Date
rassilon ff7314339e Merge pull request #892 from rassilon/DontChangeAddressForDevTools
Don't change the .Address property when (among other things) you display...
2015-03-21 10:21:57 -04:00
rassilon 460cca4e5c Use IsPopup instead. 2015-03-21 10:02:30 -04:00
rassilon 40f45b4183 Don't change the .Address property when (among other things) you display DevTools. 2015-03-20 14:02:17 -04:00
amaitland 387101ee79 Check BrowserProcessServiceHost is in a Created State before opening 2015-03-19 15:46:11 +10:00
Alex Maitland be3432efce Merge pull request #887 from amaitland/feature/jsb-callback
Javascript Callbacks - Take 2
2015-03-19 12:55:18 +11: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 a7b8e1eb76 Remove MouseButtonType as it's not required - enum values match those of Cef, so just pass in as int and cast when required
(Should be much more efficient than switch statement)
2015-03-19 10:58:18 +10:00
Alex Maitland 06a797ac87 Merge pull request #890 from rassilon/MakeDefaultFocusHandlerPublic
Make DefaultFocusHandler public class
2015-03-19 08:40:57 +11:00
rassilon 1dd0fd3c35 Given focus fixes take 5, DefaultFocusHandler probably needs to be public instead of internal so that you can subclass and reuse the tricky default OnGotFocus implementation.
Add doc comment warnings about the danagers of overriding IFocusHandler.OnGotFocus for WinForm ChromiumWebBrowsers.
2015-03-18 11:54:20 -04:00
amaitland d316486426 Expose Dispatcher via IWpfWebBrowser interface - could be useful for Handler implementations 2015-03-18 21:34:20 +10:00
Jan Kurianski 2b88af6c10 Merge pull request #888 from numbersint/fixes/cefrequest-support-charset
Use correct string encoding in CefRequest.Body
2015-03-18 22:17:05 +11:00
amaitland 1cca925eba Resharper inspired cleanup of TabulationDemoForm class 2015-03-18 17:53:41 +10:00
amaitland a503365073 Indent case statement
Remove unused using statements
2015-03-18 17:50:40 +10:00
amaitland 1d496fa692 No need to set IsActivating - bools always default to false 2015-03-18 17:49:16 +10:00
amaitland 0572ef6a25 Add isMainFrame to OnBeforeResourceLoad 2015-03-18 17:44:19 +10:00
Alex Maitland 35e8d8ed82 Merge pull request #889 from Bodekaer/IframeIssue
Passing IsMainFrame as parameter to the OnBeforeBrowse
2015-03-18 18:29:39 +11: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
jankurianski 6fd0abc0d1 Use auto for longer type declarations. 2015-03-18 16:14:41 +11:00
jankurianski fc8e546aa8 Add using for System::Text 2015-03-18 16:07:41 +11:00
jankurianski b25f39c1bf Use correct string encoding in CefRequest.Body
This fixes a bug where unicode characters were not being decoded
correctly in the POST request body (e.g. U with umlaut - Ü - was being
sent as utf-8 but then incorrectly decoded using the default ASCII
codepage as Ã).
2015-03-18 14:35:19 +11:00
Alex Maitland 09e66422bb Merge pull request #885 from cefsharp/feature/added-on-title-changed-event-handler
Added a TitleChanged event handler
2015-03-18 12:56:20 +11:00
amaitland 9bb3210694 Rerun migrateToAutomaticPackageRestore.ps1 (https://github.com/owen2/AutomaticPackageRestoreMigrationScript/blob/master/migrateToAutomaticPackageRestore.ps1)
Every time I update packages it appears that `VS` adds in the targets again
2015-03-18 11:24:58 +10: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
amaitland 4c54b12014 Remove staging.nuget.org - no longer needed as we use MyGet now 2015-03-18 10:37:50 +10:00
amaitland 14cbf5fba8 Add cef_web_plugin.h reference to Cef.h so intellisense works 2015-03-18 10:34:52 +10:00
rassilon 4cb60e6c34 Merge pull request #791 from rassilon/focus_take5
Focus improvements, take 5...
2015-03-17 09:57:46 -04:00
rassilon 8bd76e1db9 Further cleanups based on comments. 2015-03-17 09:39:40 -04:00
Per Lundberg 109bb6159a Added TitleChanged event handler. 2015-03-17 09:36:02 +02:00
Per Lundberg 702e867916 Whitespace adjustments. 2015-03-17 08:55:42 +02:00
Per Lundberg 56f050b1bf Removed superfluous braces. 2015-03-17 08:55:17 +02:00
Per Lundberg 9a1c526456 Sorted usings. 2015-03-17 08:53:11 +02:00
Alex Maitland 08e1dc421e Merge pull request #883 from Bodekaer/WpfListBoxIssue
Wpf list box issue
2015-03-16 22:30:04 +11:00
dimas 06ac7f7641 Adding more condition to OnPreviewKey so Ctrl+A will work when web browser is put inside a listbox 2015-03-16 18:58:21 +08:00
dimas bd6f7937f9 Revert "Testing webbrowser inside listbox"
This reverts commit 11f1ab5eb4.
2015-03-16 18:50:56 +08:00
dimas 2abb5ca064 Merge branch 'master' of https://github.com/cefsharp/CefSharp 2015-03-16 17:45:14 +08:00
dimas 3bf3b2e1df Merge branch 'master' of https://github.com/Bodekaer/CefSharp 2015-03-16 17:43:50 +08:00
rassilon b27b7d8fdf Remove debugging logic, and add some additional commentary. 2015-03-15 12:42:15 -04: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 090ed3989b Add RemoveWebPluginPath and UnregisterInternalWebPlugin 2015-03-12 12:14:09 +10:00
amaitland 0f48c637db Execute jsb callback in a Task 2015-03-12 11:48:42 +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 9c77f20c39 Add example LoadError handler to WinForms example 2015-03-12 10:53:39 +10:00