* Core - Add IApp interface and DefaultApp implementation
Move code from Cef.Initialize into CefSharpApp
Working towards #2139
* CefSharpApp.h - Allow CefCustomScheme->SchemeHandlerFactory to be null
If cefCustomScheme->SchemeHandlerFactory is null then we no longer attempt to call CefRegisterSchemeHandlerFactory
You can then choose which RequestContext you wish to register your handler for, no longer forcing you to register
in the global context
Remove null checks in OnScheduleMessagePumpWork as we're throwing an exception if they're null when the CefApp is created
* Add Chromium Extension Support
Add IRequestContext.LoadExtension
Add IExtensionHandler
Add IExtension
Add example (import from cefclient) - was added to CefSharp.WinForms.Example projct
Add RequestContextExtensions - to make loading an extension slightly easier
If browserSubProcessPath is an absolute Uri then use the folder as the base path
otherwise use the old behaviour and use the executing assembly
Resolves#2603
Exposes the CEF API for Shared D3D11 Texture support. This should be considered experimental as there are quite a few known bugs in the CEF implementation
(PDF Viewer not working correctly)
OffScreen.ChromiumWebBrowser.CreateBrowser API changed (breaking change) now pass in `WindowInfo` to customise settings
Refactor CreateBrowser to support windowed and OSR rendering (now accepts IWindowInfo)
Resolves#2527
This will land in the 71 release, changing the default to true
Can easily be overridden by setting to false before calling Cef.Intialize (if your not explicily calling Cef.Initialize then before creating your first ChromiumWebBrowser instance)
Probably still needs some work, would be nice if the event was the same in all three instances, difficult with the WPF version being a DependencyPropertyChangedEventHandler
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
It's not actually a factory and will handle multiple requests to the same url
Only API change is for DefaultResourceHandlerFactory directly, the LoadHtml and RegisterResourceHandler extension methods
stay unchanged
The causes GetBrowserWrapper to return null when DevTools is opened, for now we'll just create the wrapper
and pass it directly (wrapper is disposed when it goes out of scope).
* added some code to send monitor information back to the cef
* reverted framework target change
* small cleanup. Handling location changed of the window to force refresh screeninfo
* Fixed formatting of C++ code, added comments, removed code from samples
* removed extra white space
- This is a breaking change as there is no common `CefSharp.CefSettings`, there is no `CefSharp.Wpf.CefSettings`, `CefSharp.WinForms.CefSettings` and `CefSharp.OffScreen.CefSettings`
- Cef.Initialize has been removed, the `ChromiumWebBrowser` constructor will call the `Cef.Initialize` with the defaults for your flavour
- CefSettings.FocusedNodeChangedEnabled has been moved to CefSharpSettings.FocusedNodeChangedEnabled
Resolves#2477
- Rename RequestContextHandler to CefRequestContextHandlerAdapter and move to internals
- Add missing RequestContextSettings.EnableNetSecurityExpiration
- Minor code cleanup