24 Commits

Author SHA1 Message Date
amaitland 289fbf244a Update WinFormsBrowserProcessHandler to use the simplest possible approach - NOT PRODUCTION READY 2016-09-09 13:21:48 +10:00
amaitland 9fbde82ef0 Experimental implementation of IBrowserProcessHandler.OnScheduleMessagePumpWork
NOT READY FOR PRODUCTION USE
2016-09-01 16:51:20 +10:00
amaitland 79f3844cab Follow up to #1764
- Call SetHandlersToNull() in a consistent fashion across all three implementations
- Reword comments slightly
2016-08-09 12:40:58 +10:00
Dan Backes 7108ae3f43 Fix LifeSpanHandler not Called During Dispose (#1764)
- Make it so that the lifespan handler is still called when the
  ChromiumWebBrowser is disposed We need to make sure that the
  LifeSpanHandler is still around when `managedCefBrowserAdapter`
  is disposed since it is going to call `CloseBrowser`. That way,
  we can implement LifeSpanHandler and reject closing the entire
  application as described in #1574
2016-08-09 12:32:41 +10:00
amaitland 885e0d685f Forgot to comment out the experimental window hosting 2016-05-19 17:56:10 +10:00
amaitland d1d754cf58 Remove CefWindowInfo from ClientAdapter::OnBeforePopup they will now need to be made in client code
(This is now possible as IWindowInfo exposes all the relevant pieces).
This will allow for a little more flexibility, specially on the WinForms front, it should be possible to create the control and then show the window later
2016-05-19 12:11:29 +10:00
amaitland 1a0c08afa0 Add another experimental ILifeSpanHandler.OnBeforePopup option 2016-05-04 23:34:33 +10:00
amaitland 6644fd7208 Update KeyboardHandler to ignore left, right, up, down as they were being cancelled
Some resharper inspired cleanup as well
2016-04-21 07:03:19 +10:00
amaitland 7f1f1c5f21 Add example IDisplayHandler.OnFullscreenModeChange to WinForms example - reparent ChromiumWebBrowser control to demo switching to fullscreen, little bit of screen resize which isn't perfect, it works ok though. 2016-03-30 10:58:05 +10:00
amaitland cad16c40e4 CEF API Changes for 2623 upgrade
Update IGeolocationHandler.OnCancelGeolocationPermission - remove requestUrl
2016-03-18 08:47:24 +10:00
amaitland dd7ea823a3 Add PopupFeatures and BrowserSettings to OnBeforePopup
Update WinForms popup example - comment out experimental feature

Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)

Resolves #1586
2016-03-07 18:58:56 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 514d7e275d Add IContextMenuHandler.RunContextMenu 2015-10-12 08:08:41 +10:00
amaitland fff0808693 Demo opening OnOpenUrlFromTab - rough example 2015-09-18 13:22:11 +10:00
amaitland 52791957d5 Update callback usage examples
Add some comments in example RequestHandler about disposing of callbacks
2015-09-09 09:18:27 +10:00
amaitland fa7728b0d0 Strongly type commandId
Add example of using custom menu id numbers
2015-08-31 11:36:49 +10:00
zkovacs1 0c4dd367eb Exposing menu commands enum from Cef 2015-08-28 00:24:08 +03:00
zkovacs1 cafc129b33 TO DO: Create enum for Command Id values 2015-08-25 04:34:48 +03:00
zkovacs1 43eb12e9c2 Some code beautifying 2015-08-25 04:32:54 +03:00
zkovacs1 cb3455f14f Exposing more methods in IMenuModel to facilitate context menu customizations 2015-08-25 03:28:30 +03:00
amaitland b780568544 Add DoClose to ILifeSpanHandler 2015-08-17 13:49:10 +10:00
amaitland 29e6bc7571 Rename IMenuHandler to IContextMenuHandler 2015-08-17 13:42:44 +10:00
amaitland 75ff0ed3e4 Add IMenuModel
Refactor to reflect actual underlying Cef Model (Remove return bool)
2015-08-17 13:33:27 +10:00
amaitland 326aaf70f8 Move handlers to their own namespace and create an implementation of LifeSpanHandler to deal with custom popups 2015-08-03 17:57:01 +10:00