Commit Graph

60 Commits

Author SHA1 Message Date
amaitland 73a156fdc5 Initial version 75 upgrade and NetworkService changes
Compiles, that's about it at this point, there are major CEF breaking changes, and lots to be addressed.

Browser Process (main process)
- Removed IResourceHandlerFactory as it no longer fits with the structure that CEF provides
- New IResourceRequestHandler interface added, not plumbed in yet
- CefSettings - Add RootCachePath and ApplicationClientIdForFileScanning

BrowserSubprocess (render process)
- SendProcessMessage was moved from CefBrowser to CefFrame
- OnBrowserCreated added extraInfo param

The BrowserSubprocess changes for this upgrade should be complete
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 a0d74dd63e IDisplayHandler - Add OnLoadingProgressChange
Resolves #2686
2019-03-27 22:05:17 +10:00
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02:00
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
Igor 0ede12e7ba Add OSR AccessiblityHandler. (#2480)
* Add AccessibilityHander.

Implement CefAccessibilityHandler. Add IAccessibilityHandler interface. Add AccessibilityHandler field to IWebBrowser.

* Pull request fixes.

Replaces tabs with spaces; move CefAccessibilityHandler implementation to RenderClientAdapter; add missing comments.

* Add CefValueWrapper.

Add ICefValue interface; pass ICefValue to IAccessibilityHandler.

* Pull request fixes.

Rename CefValue to Value and CefValueType to ValueType; add CefValueWrapper::GetObject() method; remove stub code in AccessibilityHandler; fix comment on IAccessibilityHandler.

* Pull request fixes.

Fix comments for IValue; remove redundant global namespace reference for CefValueType.
2018-08-16 19:33:02 +10:00
amaitland 0f240f9510 Wpf Example - LifespanHandler Update comment to make it clear the code is experimental and incomplete 2018-07-29 19:50:15 +10:00
amaitland 48bd8d5590 Add IRequestContextHandler.OnRequestContextInitialized
- Rename RequestContextHandler to CefRequestContextHandlerAdapter and move to internals
- Add missing RequestContextSettings.EnableNetSecurityExpiration
- Minor code cleanup
2018-07-10 20:21:46 +10:00
amaitland 709645a195 WPF Example - Remove commented out context menu code
Left over from when the built in wasn't working (it still only works partially) due to https://github.com/cefsharp/CefSharp/issues/1767
Improve comments and add links to make clearer
2018-07-09 20:04:41 +10:00
amaitland c1b89c62e9 WPF/OffScreen - Code cleanup and minor refactor
IRenderWebBrowser - Method naming now matches CEF, xmldoc updated to be more accurate

CefSharp.Wpf.ChromiumWebBrowser and CefSharp.OffScreen.ChromiumWebBrowser both updated as a result of IRenderWebBrowser changes
Should be minimal public API changes, should only require changes for those that are implementing their own rendering, who will have a major rewrite on their hands regardless of this.
2018-04-20 14:49:25 +10:00
Ondrej Medek 791c42cff3 Example LifespanHandler.OnAfterCreated fix eperimental code rare crash (#2354) 2018-04-13 20:00:25 +10:00
amaitland c37dbcd06a Remove Geolocation API and Upgrade version numbers to 65 2018-03-17 21:31:25 +10:00
amaitland 7128ef11aa WPF Example - windowInfo.SetAsWindowless no only takes a single param (remove transparency param as that's now set via backgroundcolor) 2018-01-18 15:06:01 +10:00
amaitland 0032ae463f 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-18 10:25:50 +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