amaitland
bda5e9eeea
Rework some of the example handlers to include the IsDispose check on their callbacks
2015-09-01 12:16:08 +10:00
amaitland
48d364aed7
Load basic error message when render process crashes
...
TODO: Make this a little more elegant
2015-08-26 17:26:45 +10:00
amaitland
ad336a8928
First draft of sslinfo
...
Conflicts:
CefSharp.Core/CefSharp.Core.vcxproj.filters
CefSharp.Example/RequestHandler.cs
2015-08-17 14:49:47 +10:00
amaitland
315e345582
Add OnOpenUrlFromTab and OnRenderViewReady
2015-08-17 13:59:48 +10:00
amaitland
7498c65741
Add copyright to CefSharp.Example
2015-08-03 10:41:29 +10:00
amaitland
a88ca171c9
Add IBrowser param to OnFaviconUrlChange
...
Add IBrowser param to OnResourceRedirect
Update comment so hopefully it's clearer that the browserControl param is the ChromiumWebBrowser instance
2015-07-22 14:53:34 +10:00
amaitland
1aba3b59e6
Add Request param to OnResourceRedirect
2015-07-22 14:47:28 +10:00
amaitland
17df6f8153
Add PostDataElementType enum
2015-07-07 20:37:09 +10:00
amaitland
133a88b644
Add sample of how to use the new post data implementation
2015-07-07 20:35:08 +10:00
rassilon
431cb511c3
* Move unmanged objects into finalizer and call finalizer from Dispose.
...
* Remove DisposableResources from ManagedCefBrowserAdapter
* Improve disposing of CefRequestWrapper
* Have callbacks dispose themselves.
* Allow the Application exit handler shutdown CEF from the Winforms example application.
2015-06-13 10:42:33 -04:00
amaitland
60be64f67b
Add IBrowser to IRequestHandler.OnBeforeBrowse - reorder params to match CEF API
...
Need to look at loading the cached browser instance
2015-06-11 11:06:19 +10:00
amaitland
801bebbbd0
Merge branch 'MorePopupHandlerWork' of https://github.com/rassilon/CefSharp
2015-06-11 10:04:43 +10:00
Bill Tutt
3a330f4352
Here's some more, and the missing return stmt. GetResourceHandler of course doesn't go on PopupHandler.
2015-06-03 00:14:43 -04:00
amaitland
6bda7b20aa
Add CefAuthCallbackWrapper
2015-06-01 16:46:28 +10:00
amaitland
64379bc193
Start updating examples to Dispose() the callbacks
...
Untabify IRequestCallback
2015-06-01 12:05:53 +10:00
Bill Tutt
668738ed58
Add some more methods on IPopupHandler and call them.
...
Don't put the following handlers on IPopupHandler due to the underlying security related purpose, but add IBrowser parameters:
* OnCertificateError
* OnQuotaError
* OnPluginCrashed
* OnRenderProcessTerminated
* OnProtocolExecution
* OnBeforePluginLoad
* GetAuthCredentials
2015-05-29 01:33:44 -04:00
Bill Tutt
1df0d648a8
Don't create a task for MemoryStreams, and some more Resharper Cleanups.
2015-05-28 22:14:34 -04:00
Alex Maitland
16ba0ab6a5
Merge pull request #1008 from amaitland/enhancement/requestcallback
...
Implement CefRequestCallback wrapper
2015-05-07 15:24:44 +10:00
amaitland
fb87cab4f4
Add OnFaviconURLChange implementation - there is no IDisplayHandler interface so added the method to IRequestHandler as that seemed the next best place.
2015-05-07 13:52:19 +10:00
amaitland
dc986b3b06
Implement CefRequestCallback wrapper and expose for relevant CefRequestHandler interfaces
...
Resolves #982
2015-05-07 11:33:33 +10: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
Bill Tutt
e1e58a5da6
Add IFrame interface as the public face of CefFrameWrapper.
...
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.
This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00
amaitland
6abfb8c054
API changed for OnBeforeResourceLoad, OnCertificateError, OnQuotaRequest.
...
For OnCertificateError, OnQuotaRequest the callback was changed to be a generic one, so no outward facing API change.
With OnBeforeResourceLoad there is now a async callback which isn't used, the only two options that will work are Cancel or Continue
2015-04-28 14:04:35 +10:00
amaitland
a9aeaecda5
Comment out example and remove TODO
2015-04-24 10:51:16 +10:00
amaitland
dffc3da31f
Implement OnProtocolExecution (mapped slightly differently as it's easier to return a bool than use a ref param)
2015-04-22 17:07:55 +10:00
amaitland
2429a5492a
Implement IRequestHandler.OnResourceRedirect
2015-04-22 16:59:02 +10:00
amaitland
f654c78874
Add basic OnQuotaRequest implementation
2015-04-22 16:29:18 +10:00
amaitland
fe59df92ac
Cleanup OnBeforeResourceLoad - Remove IResponse and Response classes, to perform Redirect simply set the IRequest.Url
2015-03-28 19:56:26 +10:00
amaitland
0572ef6a25
Add isMainFrame to OnBeforeResourceLoad
2015-03-18 17:44:19 +10:00
dimas
16bc1215ee
Passing IsMainFrame as parameter to the OnBeforeBrowse
2015-03-18 13:15:25 +08:00
amaitland
ff634e299b
Replace IWebPluginInfo with WebPluginInfo
...
Instead of wrapping the Cef object, just read it's properties through a helper method
2015-01-08 13:00:49 +10:00
amaitland
5a869771e7
Update WinForms and WPF examples to represent the ResourceHandler changes
2014-12-09 12:50:37 +10:00
Sylvain Hamel
492d22c8a3
Feature: Expose OnCertificateError to allow host application to decide whether or not it should continue
2014-11-25 15:51:55 -05:00
amaitland
8e9c5da0da
Add basic example
2014-11-18 12:03:59 +10:00
amaitland
215f804fb5
Add GetResourceHandler to IRequestHandler interface
...
Simplify OnBeforeResourceLoad to only support redirect for now
2014-11-18 12:03:59 +10:00
amaitland
682c00b16e
Remove RespondWith from OnBeforeResourceLoad
2014-11-18 12:03:59 +10:00
amaitland
5ddc383417
Start renaming of IRequestResponse and RequestResponse class
2014-11-18 12:03:58 +10:00
amaitland
aac9914cb9
Split RequestResponse out into two, pass in Request as it's own param
2014-11-18 12:03:58 +10:00
amaitland
5f413552bc
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-08-12 10:57:21 +10:00
amaitland
e8f3a5e8cf
Merge remote-tracking branch 'remotes/upstream/master' into JsBinding_WIP
2014-07-01 14:08:16 +10:00
amaitland
852e887d5c
Add OnRenderProcessTerminated - Resolves issue #207
2014-06-24 11:16:40 +10:00
amaitland
959f432030
Manually fix some merge issues
2014-06-12 12:24:45 +10:00
Per Lundberg
b8c7f23972
Thank you, ReSharper. :)
2014-06-12 02:11:29 +03:00
Per Lundberg
682adee813
I don't like empty lines. :-) Let's add a slightly explanatory comment instead, to help people (hopefully) know what to do.
2014-06-12 02:00:33 +03:00
amaitland
d092b3e66c
Implement basic DownloadHandler (can now save a file to disk correctly)
2014-06-12 01:55:52 +03:00
amaitland
36503b616c
Assign RequestHandler in BrowserTabView
2014-06-12 01:55:34 +03:00
Per Lundberg
5755516ed6
Second half of the 500cca5e6e commit.
2014-06-12 01:55:10 +03:00
amaitland
fff9422e52
Rename ExamplePresenter to RequestHandler (Alex had also removed old commented out code, but I am moving that part of the change to a separate commit to help git/SourceTree better understand that the file has been renamed, so we preserve history etc)
...
Conflicts:
CefSharp.Example/ExamplePresenter.cs
2014-06-12 01:53:46 +03:00