Commit Graph

44 Commits

Author SHA1 Message Date
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
amaitland cc78bfeb13 Add OnPluginCrashed to Request handler 2014-05-27 12:43:21 +10:00
jornh 586e8c6995 Change to policyUrl to match coding convention 2014-05-26 07:43:30 +02:00
jornh 9626019ab7 Move the documentation to IRequestHandler. With a fix to info on return value - which also matches CEF API doc :) 2014-05-25 19:59:14 +02:00
jornh 7265a0da3b Merge branch 'RequestHandlers' of https://github.com/fraenke75/CefSharp into fraenke75-RequestHandlers
Manual resolution including adding DECL OVERRIDE to the added virtual function in ClientAdapter.h
2014-05-25 17:12:35 +02:00
amaitland 6b639811f5 Update comments where possible (based on Cef3 Api doc) 2014-05-15 17:16:26 +10:00
amaitland ce24498a37 Remove OnBeforeNavigation it's in the current Cef build we're using, though looks like it will be deprecated shortly.
For now use OnBeforeBrowse
2014-05-15 17:16:26 +10:00
amaitland 895e85a591 Implement OnBeforeBrowse 2014-05-15 17:16:25 +10:00
amaitland 5f4d91ac8f Add OnBeforeNavigation implementation (can be user implemented using IRequestHandler) 2014-05-15 17:16:25 +10:00
fraenke75 413567a028 Added CefRequestHandler.OnBeforePluginLoad 2014-04-10 15:59:45 +02:00
Per Lundberg 8c40ab43cb Removed a bunch of superfluous usings. I eat superfluous code for breakfast! 2014-03-21 22:38:53 +02:00
JanEggers 0833476676 added new CefSharp Project 2014-03-09 13:57:28 +01:00