- Added a ProxyOptions class
- Added a CefSharpSettings.Proxy property
- Made ClientAdapter::GetAuthCredentials take care of the authentication for the proxy
* 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
(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
Update WinForms popup example - comment out experimental feature
Had to add interfaces to allow for wrapping of the structures (BrowserSettings and PopupFeatures)
Resolves#1586
Previously we were passing in the frame, request wrappers which hadn't been used, so just keep things simple and remove the code.
Current users should extend ResourceHandler instead of IResourceHandler and add the override keyword
TODO: Deal with setting bytesRead property - currently using Stream.Length which won't work for every stream type
set returnNullIfBrowserNotFound field value as "true" for GetBrowserWrapper method in OnBeforeResourceLoad in order to prevent crashing popup window, when window is closed.
When using a popup and OnResourceLoadComplete it's possible that the popup will be removed from the collection causing an exception
Simple fix for now, just return nullptr in that particular instance.
No need to wrap bool in gcroot
Move command line parsing into c# land - can be reused in a few places.
Reduce code duplication in OnProcessMessageReceived - kOnFocusedNodeChanged handler
Minor changes for code consistency/formatting
Send an IPC message when OnContextCreated is called in the render process
Currently only called for the main frame
Should be possible to hook the DOMContentLoaded event
In GetBrowserWrapper check if _cefBrowser has a valid pointer
Add ManagedCefBrowserAdapter IsDisposed check in JavascriptCallbackProxy::GetBrowser
Add CanExecute to check if underlying resources are still available