Commit Graph

61 Commits

Author SHA1 Message Date
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland c18f951a97 Move OnContextCreated from IRequestHandler to IRenderProcessMessageHandler
Manually resolve some merge conflicts
2015-12-09 11:32:24 +10:00
amaitland af02212217 Merge branch 'feature/oncontextcreated' of https://github.com/amaitland/CefSharp 2015-12-09 11:26:07 +10:00
amaitland 7782490513 Add IRequestHandler.OnResourceLoadComplete
https://bitbucket.org/chromiumembedded/cef/commits/ced449a0efbb39e7ff36af844a4d067935dc324b
2015-12-08 10:46:27 +10:00
amaitland 6f272833fb Add IRequestHandler.OnContextCreated handler
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
2015-12-02 19:04:19 +10:00
amaitland c2b712f06c Update to CEF 3.2454.1326
Remove IRequestHandler.OnBeforePluginLoad (was moved on the upstream API, will need to be re-added)
Fixes #1306
2015-10-01 20:21:21 +10:00
amaitland d9c3569bd7 Add IRequestHandler.OnResourceResponse 2015-09-29 08:03:54 +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 8dbfe02618 Start adding/moving methods to IDisplayHandler - reflect CefDisplayHandler implementation 2015-08-17 11:29:51 +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 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
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
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
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
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 bc56e2f91f Adding comment for the IsMainFrame parameter 2015-03-18 15:02:10 +08:00
dimas 16bc1215ee Passing IsMainFrame as parameter to the OnBeforeBrowse 2015-03-18 13:15:25 +08:00
amaitland 4562b984ab Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2015-01-16 11:53:25 +10:00
amaitland fce5f06362 Remove unused resultString param, CefJSDialogCallback->Continue is used for multiple callbacks, in this case only the success param is required.
Change isReload to a normal param (was an out param), so the user can be notified correctly
Add some rough documentation to IJsDialogHandlerAdd some additional comments to JsDialogHandler for demonstrating code to users

Add JsDialogHandler that implements the default behavior
Assign in the WinForms example

Fix typo in IRequestHandler
2015-01-11 14:05:10 +10: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 5c50f5ea8b Split GetResourceHandler out of IRequestHandler into it's own IResourceHandler interface 2014-12-09 12:27:32 +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 85c260d07c Implement missing method in StreamAdapter
Implementation of GetResourceHandler still incomplete
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 e52a4f7c43 Remove commented out code
Add method stub for GetResourceHandler
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
Alex Maitland e5e53133de Merge pull request #396 from amaitland/feature/OnRenderProcessTerminated
Add OnRenderProcessTerminated - Resolves issue #207
2014-08-05 11:30:17 +10:00
amaitland 68edca8d35 Add license disclaimer to all files in CefSharp project 2014-06-25 16:00:08 +10:00
amaitland 852e887d5c Add OnRenderProcessTerminated - Resolves issue #207 2014-06-24 11:16:40 +10:00
jornh feabb4fe48 Merge pull request #391 from amaitland/feature/DownloadHandler
Implement DownloadHandler based on current Cef API fixes #387
2014-06-23 23:27:51 +02:00
JanEggers cd2ff30fc7 cleanup usings 2014-06-12 21:02:20 +02:00
amaitland eef01bb1ed Merge remote-tracking branch 'remotes/upstream/master' into feature/DownloadHandler 2014-06-12 12:24:22 +10:00
amaitland 3ec232a73e Move NavigationType to it's own file 2014-06-12 01:58:45 +03:00
amaitland 9f0ea3a987 Comment out OnResourceResponse as it's not currently implemented (not direct translation from CEF1 to CEF3) 2014-06-12 01:44:09 +03:00
amaitland 8c97e29e2a Move DownloadHandler from IRequestHandler to directly on IWebBrowser 2014-06-11 14:47:19 +10:00