48 Commits

Author SHA1 Message Date
amaitland 6133ffe107 WPF Example - windowInfo.SetAsWindowless no only takes a single param (remove transparency param as that's now set via backgroundcolor) 2018-01-22 11:32:29 +10:00
amaitland d74215a1f9 WPF Example - update MenuHandler to implement custom menu, execute command based on CefMenuCommand enum rather than trying to use IRunContextMenuCallback which isn't working (upstream issue)
This is a workaround for #1767
You can use the default CEF menu it does however require you to integrate CEF into your main message loop see #1795
2018-01-22 11:32:22 +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 da898cc93b RequestContextHandler - Add CookieManager type checking
Type check that ICookieManager is of type CookieManager, not currently possible to provide a custom implementation.
Changes in response to #2189
2017-12-20 09:52:01 +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
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland 8a9b0deb60 Upgrade to 3.2883.1552
Add isMainFrame to IRequestContextHandler.OnBeforePluginLoad (CEF API changed)
2017-02-01 13:58:51 +10:00
amaitland 7b491fbd3d WPF - Add browser.IsPopup checks to the example LifespanHandler when using EXPERIMENTAL newBrowser method
Was hanging on exit before
2016-10-24 12:14:07 +10:00
amaitland 662ef561b5 ILifeSpanHandler.OnBeforePopup - Add comment about setting newBrowser to null 2016-10-12 12:43:11 +10:00
amaitland fb1c70a44c Rename IPluginHandler to IRequestContextHandler
Add IRequestContextHandler.GetCookieManager() - Can now have unique CookieManager for each RequestContext
**Breaking Change**
CookieManager should be moved from the CefSharp.Internals namespace - will do that at some point later hopefully
2016-09-25 20:35:04 +10:00
amaitland cb238ba001 WpfBrowserProcessHandler - Simplify even further, when delay <= 0 in OnScheduleMessagePumpWork fire immediately otherwise wait for the timer to execute (will only be a matter of ms difference between when it's called hopefully
Can successfully open a few tabs and run the FishGl test
2016-09-08 09:33:45 +10:00
amaitland 8a3685d320 Add WpfBrowserProcessHandler example implementation - not ready for production use.
Better integration with message loop does appear to have some benefits with context menus etc
2016-09-07 13:54:28 +10:00
amaitland c2bf9fb314 WPF - Custom context menu not working, revert to using the built in context menu (which didn't work previously, one thing fixed, another broken)
At some point this will need to be reported upstream
2016-08-28 08:55:33 +10:00
campersau 4a639128b2 Fix hadle -> handle in comment (#1776) 2016-08-20 21:51:36 +10:00
amaitland 4a9bc29971 Update the GelocationHandler example - seems people are still struggling with the callback concept. 2016-07-31 19:00:48 +10:00
amaitland 4a8b7c559a Re-enable the WPF LifespanHandler just comment the code out - add experimental note 2016-05-27 12:04:06 +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 165cc1f88a Add a more complex example of using a non draggable region within a draggable one
Switched to using System.Drawing.Region for proper region handle
2016-04-13 11:35:40 +10:00
amaitland 4c4eb210f4 Add WPF Draggable Regions Test
Remove old generic DragHandler - maybe someone will write a WinForms specific one?
Remove some unused references from CefSharp.csproj
2016-04-12 16:57:47 +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 b89377e630 WPF Custom context menu - let CEF know when the menu has been closed 2016-02-12 11:55:11 +10:00
amaitland 84f7c5dc62 WPF - Hack together a slightly more complete context menu example 2016-02-10 09:57:41 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland ad9f7c70ac Add IPluginHandler.OnBeforePluginLoad
Can now be used through the RequestContext
Add Example to WPF application
2015-10-12 15:32:10 +10:00
amaitland 514d7e275d Add IContextMenuHandler.RunContextMenu 2015-10-12 08:08:41 +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
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 4ce9bc5463 Add IBrowser param to ILifeSpanHandler.OnAfterCreated 2015-07-28 17:19:50 +10:00
amaitland 9a0d7688a0 Merge branch 'cef/2272' 2015-07-28 17:17:12 +10:00
amaitland 9b09a9bd34 Basic LifespanHandler implementation can open the new window - has problems closing it through javascript 2015-07-28 17:01:29 +10:00
amaitland a04082118f Change LifespanHandler to use explicit interface implementation 2015-07-28 16:07:17 +10:00
amaitland a8e038ac6d Simplify LifespanHandler 2015-07-28 16:05:09 +10:00
amaitland d843e96407 Merge branch 'cef/2272' of https://github.com/jamespearce2006/CefSharp into cef/2272 2015-07-28 15:59:30 +10:00
amaitland 801bebbbd0 Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp 2015-06-11 10:04:43 +10:00
Bill Tutt a7ba17fbc2 The changes continue... 2015-06-08 22:48:29 -04:00
amaitland 64379bc193 Start updating examples to Dispose() the callbacks
Untabify IRequestCallback
2015-06-01 12:05:53 +10:00
amaitland 053c2f0f3f Add CefGeolocationCallbackWrapper 2015-06-01 11:56:50 +10:00
jamespearce2006 e20fad9081 Simplify XAML example 2015-05-08 11:14:29 +01:00
Bill Tutt de7b6b4240 More IFrame usages, take special note of the chaneges in the EventArgs types. 2015-05-02 01:15:47 -04:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
pushplay ef2463d608 Fixes suggested by @jankurianski 2015-01-28 14:38:19 -08:00
pushplay aba800a9c3 Implement CefGeolocationHandler::OnRequestGeolocationPermission delegating the request to a CefSharp.IGeolocationHandler implementation. This allows CefSharp to permit geolocation requests. 2015-01-26 14:16:46 -08:00
amaitland e6e85f67eb Add license disclaimer
Cleanup formatting
2014-12-22 17:23:33 +10:00
Bodekaer 901438da05 Added support for context menu parameters. All supports new spell check feature #222 2014-11-04 19:03:02 +08:00