Commit Graph

193 Commits

Author SHA1 Message Date
David Serfozo c5fcd7c524 added ICookieManager interface 2015-07-29 22:14:13 +02:00
amaitland 03fa6e52c2 Add target_disposition and user_gesture params to ILifeSpanHandler.OnBeforePopup 2015-07-28 11:14:06 +10:00
amaitland 118182f537 Add modifiers param to SendMouseWheelEvent
Add SendKeyEvent to IBrowserHost including mapping struct classes
2015-07-24 12:23:29 +10:00
amaitland c88952a9fa Merge remote-tracking branch 'remotes/upstream/master' into feature/postdata 2015-07-10 16:55:46 +10:00
David Serfozo d6661df344 removed unnecessary code from previous js callback implementation 2015-07-07 19:30:50 +02:00
amaitland 17df6f8153 Add PostDataElementType enum 2015-07-07 20:37:09 +10:00
amaitland 9d1b9e16f5 Remove Body
Read in byte array
Add some extensions to access the Body data
2015-07-07 20:27:41 +10:00
amaitland 6005fd3f2c Add outline of IPostData implementation 2015-07-07 19:35:39 +10:00
Alex Maitland ff6d53ecff Merge pull request #1102 from amaitland/cleanup/browsersettings
BrowserSettings map to Enabled/Disabled/Default Enum
2015-07-07 10:37:07 +10:00
amaitland 98d186c33c Move OnMouseButton into IBrowserHost (rename to SendMouseClickEvent) 2015-07-06 12:39:33 +10:00
amaitland fbe8ccd61c Move Invalidate method from ManagedCefBrowserAdapter into CefBrowserHostWrapper - now can be used in OffScreen 2015-07-06 12:25:09 +10:00
amaitland 8eff8d011e Add CefState enum
Change BrowserSettings to use CefState instead of bool?
Remove the Allowed/Disabled prefix so names now more closely match those of CEF
Should be easier to understand as there's no double negatives now
2015-07-06 11:30:53 +10:00
amaitland f499465f1d Add CefWindowInfoWrapper 2015-07-01 19:04:28 +10:00
amaitland 819dfd54f9 Move WcfEnabled option into CefSharpSettings class
Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
2015-06-29 13:20:47 +10:00
David Serfozo 762d94942a added jscallback support for new evaluatescript implementation 2015-06-27 19:01:41 +02:00
David Serfozo cc8a07c21f added evaluatescriptasync message handlers and rerouted evalscript to cef ipc 2015-06-27 19:01:21 +02:00
David Serfozo bf33f0bc7c V8 serialization utils added 2015-06-27 16:52:08 +02:00
David Serfozo 4d62f6ad8e wcf made switchable 2015-06-20 19:50:48 +02:00
amaitland afbed86524 First draft of what is hopefully the final rewrite of ResourceHandler/SchemeHandler
This will built but won't run as CefResponseWrapper has not yet been implemented.
2015-06-15 21:03:25 +10:00
amaitland 6bda7b20aa Add CefAuthCallbackWrapper 2015-06-01 16:46:28 +10:00
amaitland 4b6af9448a Add CefFileDialogCallbackWrapper 2015-06-01 16:27:42 +10:00
amaitland 053c2f0f3f Add CefGeolocationCallbackWrapper 2015-06-01 11:56:50 +10:00
amaitland e6e39e773a Add CefBeforeDownloadCallbackWrapper 2015-06-01 11:48:12 +10:00
amaitland 3fb959f7ed Add CefDownloadItemCallback Wrapper - Can now Pause and Resume a download 2015-06-01 11:12:56 +10:00
Bill Tutt bceb3db4c5 Merge remote-tracking branch 'origin/cef/2272' into cef/2272 2015-05-28 23:17:59 -04:00
Bill Tutt 12c330ad92 Merge remote-tracking branch 'origin/master' into cef/2272 2015-05-28 23:14:54 -04:00
amaitland 5c95972c21 Add a rough outline of IBrowserHost (CefBrowserHostWrapper)
Only a few methods are implemented, not exposed yet.
2015-05-29 10:56:38 +10:00
amaitland e83daa37fe Remove ISchemeHandlerResponse - wasn't going to be used 2015-05-28 20:46:42 +10:00
Matthew Morrison 890b80bc0f Fixed some issues with formatting. 2015-05-23 17:46:06 -05:00
Matthew Morrison f7f13f0359 Add cursor type to SetCursor call. Duplicated CursorType enum from CEF source. 2015-05-22 19:40:40 -05:00
amaitland b4b0cf1d7e Move the IWinFormsWebBrowser interface into the WinForms project 2015-05-22 11:06:16 +10:00
amaitland 46808752da Copy WebBrowserExtensions to InternalWebBrowserExtensions
Create empty WebBrowserExtensions to house common methods
2015-05-21 18:20:44 +10:00
amaitland e43befe9fa Start to extract some duplicate code out into extension methods - saves repeating the same block three times 2015-05-21 13:51:14 +10:00
Bill Tutt 80d6ae12e5 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-20 21:54:31 -04:00
Bill Tutt adb5ae0d77 More work on wrapping CefBrowser/CefFrame. 2015-05-17 17:41:44 -04:00
amaitland 468f9d8d5d Create a Cookie class to represent the cef cookie as the .net doesn't quite work, cannot set it's timestamp
Resolve #338
2015-05-07 18:38:30 +10:00
amaitland 95470df8ee Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog 2015-05-07 15:27:44 +10:00
amaitland b118b5f678 Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/requestcallback 2015-05-07 14:35:35 +10:00
amaitland fb3fb8e0de Merge remote-tracking branch 'remotes/upstream/cef/2272' into enhancement/onjsdialog 2015-05-07 14:32:36 +10:00
amaitland fc9e6dc9ad Rewrite OnJSDialog so now matches the Cef API, whilst I understand that the ideal of having the types split into different methods was nice from a user point of view, I think we kept functionality from users that was exposed.
So the callback wrapper has been added so can now be executed async. SuppressMessage is now possible.

Fixes #999
2015-05-07 12:53:36 +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 1f59244b81 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-05 18:26:05 -04:00
amaitland f8691fdee6 Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler 2015-05-04 14:34:31 +10:00
Bill Tutt 872cb06c71 Part 1 of Wrap CefBrowser. 2015-05-02 23:32:22 -04:00
Bill Tutt af412b623a Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/Cef.h
2015-05-02 05:04:21 -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 b6bc29ef6b Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/Cef.h
2015-04-22 19:39:38 -04:00
rassilon 701d391c59 Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.

Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00
amaitland 2468e41ea1 Extract ISchemeHandler into IResourceHandler - haven't marked as [Obsolete] as it may make more sense naming wise to keep this interface
Maybe need to add a code comment explaining the reason for keeping both interfaces?
2015-04-17 13:07:07 +10:00