amaitland
bf934b2ec3
WinForms - Example LifeSpanHandler update DevTools Url
...
The Default Devtools URL has been changed in `CEF`.
https://bitbucket.org/chromiumembedded/cef/commits/7b00e057140c3c134dfae328718a005f2064b9f6?at=3396
2018-07-29 19:37:00 +10:00
amaitland
dd9ba1472e
WinForms Example - Update LifeSpanHandler implementation to support closing Tabs vis window.close() javascript
2018-04-04 13:18:21 +10:00
amaitland
c37dbcd06a
Remove Geolocation API and Upgrade version numbers to 65
2018-03-17 21:31:25 +10:00
amaitland
fbce2d61de
WinForms Example - Update LifeSpanHandler example to host popup in Tab (notify popup of move and resize)
2018-01-30 15:01:38 +10:00
amaitland
921ea55fff
Add IDisplayHandler.OnAutoResize, IBrowserHost.SetAccessibilityState, IBrowserHost.SetAutoResizeEnabled
...
Wrappers for new methods/callback added
2017-12-21 08:53:56 +10:00
amaitland
464dd14b6f
Update Example RequestHandler to inherit from DefaultRequestHandler
...
A new default implementation was added in #2157
BrowserTabView - cleanup usings and remove unused code
2017-12-20 10:01:34 +10:00
Chris
2b7bdf863f
Updated OnTooltipChanged to allow for modifying text ( #1953 )
...
* Updated OnTooltipChanged to allow for modifying text
* Updated examples
2017-05-15 02:52:02 +02:00
amaitland
c138ba2519
Remove experimental option #1 from WinForms LifeSpanHandler example - should use SetAsChild method instead (I know the example is incomplete, contributions welcome).
...
newBrowser should only be used in WPF/OffScreen
2017-04-18 15:33:02 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
amaitland
526fe28bc9
Add missing using statement
2017-01-31 10:01:57 +10:00
amaitland
314b3a00c7
IGeolocationHandler.OnRequestGeolocationPermission - improve comment
...
GeolocationHandler Example - upgrade to properly use the callback.
2017-01-30 10:05:44 +10:00
amaitland
43f2a3faba
WinForms LifeSpanHandler - Check browser.IsDisposed (should only happen when disposing)
...
Update ILifeSpanHandler.DoClose comment
2017-01-06 13:08:39 +10:00
amaitland
b7f7cc4dc6
Minor formatting changes to CefCertificateCallbackWrapper
...
Update WinFormsRequestHandler so the X509Certificate2UI.SelectFromCollection is made on the UI thread and
Follow up to #1878
2016-12-13 10:20:25 +10:00
Smaran Harihar
fa41529853
Add IRequestHandler.OnSelectClientCertificate ( #1878 )
...
* wip create hooks for onSelectClientCertificate
* create interface and wrapper for callback
* get certificate from CefCertificateList, convert to X509Certificate2, add them to X509CertificateCollection and return this to ClientAdapter
* code review changes. Certificate selection in wrapper requires recreation of certificate in iteration
* added certificate dialog selection to WinFormsRequestHandler. Used VS untabify to remove all the tabs and replaced it with spaces
* missed updating a summary on ISelectClientCertificateCallback
* code review changes
2016-12-13 09:48:15 +10:00
amaitland
2d86311b44
Fix bug in WinForms example - the LifeSpanHandler implementation wasn't allowing popup windows to close
2016-10-19 07:51:19 +10:00
amaitland
662ef561b5
ILifeSpanHandler.OnBeforePopup - Add comment about setting newBrowser to null
2016-10-12 12:43:11 +10:00
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