Commit Graph

483 Commits

Author SHA1 Message Date
amaitland 0cad8054ab Upgrade to CEF 79.1.35+gfebbb4a+chromium-79.0.3945.130 / Chromium 79.0.3945.130 2020-01-29 06:13:16 +10:00
amaitland 1550251940 Upgrade to CEF 79.1.31+gfc9ef34+chromium-79.0.3945.117 / Chromium 79.0.3945.117 2020-01-21 08:56:08 +10:00
amaitland e4312760ce API Change - IJavascriptObjectRepository.Register remove isAsync default param
**BREAKING CHANGE**

- You must now explicitly specify the `isAsync` param.
- Add additional xml doc comment regarding .Net Core and using only isAsync = true

The isAsync = false option (sync binding) requires WCF which isn't available on .Net core, remove the default value so you are forced to specify an option and in the process hopefully read the documentation.

For those who previously hadn't provided a param then simply pass in false for the third argument.
e.g.
browser.JavascriptObjectRepository.Register("bound", new BoundObject(), false);

Resolves #3016
2020-01-21 08:39:23 +10:00
amaitland 94e311844c Upgrade to CEF 79.1.10+g7ec49fa+chromium-79.0.3945.117 / Chromium 79.0.3945.117 2020-01-15 11:16:39 +10:00
amaitland 1ef327cf9d Upgrade to CEF 79.1.3+ga5342ed+chromium-79.0.3945.88 / Chromium 79.0.3945.88 2020-01-08 16:46:48 +10:00
amaitland ca2837f928 WinForms - Make ControlExtensions.InvokeOnUiThreadIfRequired internal
- Additional check is control is being Disposed
- Add copy and paste version of ControlExtensions.InvokeOnUiThreadIfRequired to example project

Resolves #2983
2019-12-02 20:37:41 +10:00
amaitland 617e43cebf Upgrade to CEF 78.3.9+gc7345f2+chromium-78.0.3904.108 / Chromium 78.0.3904.108 2019-11-28 12:04:02 +10:00
amaitland 966890588e Upgrade to CEF 78.3.1+g8819d2e+chromium-78.0.3904.87 / Chromium 78.0.3904.87 2019-11-08 12:18:46 +10:00
amaitland 3ee5b4544a Upgrade to CEF 78.2.9+g4907ec5+chromium-78.0.3904.70 / Chromium 78.0.3904.70 2019-11-03 12:33:44 +10:00
amaitland fdc02076ce WinForms - Demo workaround for activation issue when showing two browser forms
When there are two forms that contain browser instances shown at the same time they rapidly switch between
the two windows.

Issue #2928
2019-10-29 19:26:50 +10:00
amaitland 6ea0db49e7 Upgrade to CEF 77.1.18+g8e8d602+chromium-77.0.3865.120 / Chromium 77.0.3865.120 2019-10-21 16:04:01 +10:00
amaitland 770eee012d Upgrade to CEF 77.1.11+g1687a63+chromium-77.0.3865.90 / Chromium 77.0.3865.90 2019-10-07 11:16:26 +10:00
amaitland c270d0a00c Upgrade to CEF 77.1.3+gf0a1c44+chromium-77.0.3865.90 / Chromium 77.0.3865.90 2019-10-01 19:54:29 +10:00
amaitland 1d2fb9531f WinForms Example - Add ChromiumContainerControl to host docked DevTools
Required for arrow/tab key presses to be forwarded correctly to DevTools
Only required when CefSettings.MultiThreadedMessageLoop = false
2019-09-10 19:41:21 +10:00
amaitland 7980c30478 WinForms Example - Minor changes to DevTools docked example
- Add/revise comments
- Rename some variables

Follow up to #2804
2019-08-14 11:11:10 +10:00
Luke 1992e4970c WinForms - Add example of how to dock devtools into the same window. (#2804)
* Add a SplitContainer as the base UI panel and place the browserPanel in Panel1 and new devToolsPanel in Panel2.
Create two new public methods to open and close the devtools.

* BrowserForm - Changed the Show/Close devtools to call the new methods in the BrowserTabUserControl. If the LifeHandler is null, normal behaviour is assumed.

* Handle the DoClose event in LifeSpanHandler if the IBrowserHost.CloseDevTools() is called directly. This is more of a fail-safe, if the normal CEF behaviour is allowed then entire application will close.

* Added some addtional comments.

* Uncomment the instantiation of the LifeSpanHandler

* Removed devToolsPanel from designer
Removed CloseDevToolsDocked() method
Made ShowDevToolsDocked() method easier to copy and paste
Closing Devtools should now be handled in LifeSpanHandler.DoClose()
Added a bool to the LifeSpanHandler constructor whether to handle Browser popups.
Added Toolscript menu item to show DevTools Docked or Popup
Added async Method to check it DevTools is open

* Changed field access modifier to private

* Renamed dispose devtools handler with a more meaningful name
2019-08-14 10:16:21 +10:00
amaitland 88ab0a1a69 Update version numbers to 76.1.90 2019-08-14 10:14:18 +10:00
amaitland e5ff2fe8e0 Upgrade to CEF 76.1.9+g2cf916e+chromium-76.0.3809.87 / Chromium 76.0.3809.87 2019-08-14 10:09:53 +10:00
amaitland f3e400d8d7 Update version number to 76.1.50 2019-08-02 10:14:31 +10:00
amaitland 94b9e9043f Update to CEF 76.1.5+gd8a577c+chromium-76.0.3809.87 2019-08-02 10:06:50 +10:00
amaitland 47b488061e ISelectClientCertificateCallback - Update xml doc, return null means no certificate selected.
Update WinForms Example to deal with user cancellation of certificate selection UI

Resolves #2853
2019-07-31 19:41:08 +10:00
amaitland 6cc1026156 Upgrade version to 75.1.140 2019-07-27 21:36:33 +10:00
amaitland d4fb870e0d Upgrade to CEF 75.1.14+gc81164e+chromium-75.0.3770.100 2019-07-27 21:36:31 +10:00
amaitland 47e232e89e Upgrade to CEF 75.1.7+gb34af23+chromium-75.0.3770.100 2019-07-26 14:01:18 +10:00
amaitland 52ec00c486 Code cleanup - Rename IWebBrowser browserControl to chromiumWebBrowser
Hopefully this makes it clearer that the IWebBrowser instance is actually the ChromiumWebBrowser

Updated almost all instances, there's one WinForms example that wasn't updated
2019-07-20 16:26:25 +10:00
amaitland 6233925efd Upgrade version number to 75.1.40 2019-07-18 21:23:41 +10:00
amaitland 51b21f7fca Upgrade to CEF 75.1.4+g4210896+chromium-75.0.3770.100 / Chromium 75.0.3770.100 2019-07-18 20:14:09 +10:00
amaitland 4183b464d1 WPF/WinForms Example - Allow mailto to trigger OnProtocolExecution
- When Url starts with mailto then use our ExampleResourceRequestHandler
- Ignore unknown scheme errors when it's mailto, we expect that it's unknown
- WPF Example remove duplicate OnLoadError in BrowserTabViewModel
2019-07-10 20:47:55 +10:00
amaitland 581c4e8aee WinForms Example - Add Javascript binding stress test
Port of the WPF example
2019-07-03 20:40:25 +10:00
amaitland 517779b91c Upgrade to CEF 75.0.13+g2c92fcd+chromium-75.0.3770.100 / Chromium 75.0.3770.100 2019-07-03 13:18:39 +10:00
amaitland b68d8d7a8f RequestHandler - Change interface implementation to be explicit
- Make members protected virtual (BREAKING CHANGE)
- Remove Default from name of DefaultResourceRequestHandlerFactory/DefaultResourceRequestHandlerFactoryItem
2019-06-25 19:24:57 +10:00
amaitland 7e731b0fa9 Code Cleanup - Rename DefaultRequestHandler to RequestHandler
Also renamed CefSharp.Example.Handlers.RequestHandler to CefSharp.Example.Handlers.ExampleRequestHandler

Will Add in Obsolete DefaultRequestHandler
2019-06-25 19:24:57 +10:00
amaitland 74d6ae1c0e Update version number to 75.0.110 2019-06-25 19:24:57 +10:00
amaitland 4e5aac413f Upgrade to CEF 75.0.11+gf50b3c2+chromium-75.0.3770.100 / Chromium 75.0.3770.100 2019-06-25 19:24:57 +10:00
amaitland c8a85d3fb5 Update version number to 75.0.30 2019-06-25 19:24:57 +10:00
amaitland fc37e82590 Upgrade to CEF 75.0.3+g699a922+chromium-75.0.3770.80 / Chromium 75.0.3770.80 2019-06-25 19:24:57 +10:00
amaitland 04cff2bf39 Upgrade to CEF 75.0.1+gb5e74dd+chromium-75.0.3770.80 2019-06-25 19:24:57 +10:00
amaitland 302f5b2c83 WinForms Example - Improve Cef.DoMessageLoopWork examples
Change WinFormsBrowserProcessHandler to use a WinForms timer so it's Diposed when the Form is
switch it to using 60fps
2019-06-02 20:35:31 +10:00
amaitland 106277e6ae WinForms Example - Re-enable MultiThreadedMessageLoop as default for the example 2019-06-02 20:08:12 +10:00
amaitland bf222334d1 WinForms Example - Revert to using Tabbed example by default
Accidentally changed in https://github.com/cefsharp/CefSharp/commit/13aefe185728c44ad3c47a99e44e3b0088960362
2019-06-01 09:00:51 +10:00
amaitland 13aefe1857 WinForms Example - Split BrowserProcessHandler out into two different examples
ScheduleMessagePumpBrowserProcessHandler - contains a simplistic message pump example
WinFormsBrowserProcessHandler - contains just a timer that calls Cef.DoMessageLoopWork

These are the two options for integrating CEF into WinForms
2019-05-15 21:27:56 +10:00
amaitland d434050a33 SimpleBrowserForm - Set browser.FocusHandler = null; when not using multiThreadedMessageLoop 2019-05-15 09:02:08 +10:00
amaitland 5b191c0fdf Upgrade version numbers to 74.1.130 2019-04-26 07:19:41 +10:00
amaitland 40117b0cdb Upgrade to CEF 74.1.13+g98f22d3+chromium-74.0.3729.108 / Chromium 74.0.3729.108 2019-04-25 22:18:54 +10:00
amaitland c5cb465b55 Upgrade to CEF 73.1.13+g6e3c989+chromium-73.0.3683.75 / Chromium 73.0.3683.75 2019-04-25 20:40:11 +10:00
amaitland c7b9d07008 BrowserTabUserControl - Mark DllImport as private 2019-04-16 15:16:58 +10:00
Chris e22d1c2fd2 Removed IsBrowserInitializedChangedEventArgs (#2710) 2019-04-10 19:51:34 +10:00
amaitland b97f85cb2a Revert "Upgrade version numbers to 73.1.12.0"
This reverts commit bb9873d410.
2019-04-10 19:02:17 +10:00
amaitland a0d74dd63e IDisplayHandler - Add OnLoadingProgressChange
Resolves #2686
2019-03-27 22:05:17 +10:00
amaitland bb9873d410 Upgrade version numbers to 73.1.12.0
Issue #2706
2019-03-27 15:23:24 +10:00