Commit Graph

370 Commits

Author SHA1 Message Date
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
amaitland 1863c571ae Extract ISchemeHandlerResponse into IResourceHandlerResponse and mark as obsolete 2015-04-17 13:07:07 +10:00
Alex Maitland 5c40ff0af3 Merge pull request #933 from amaitland/experiment/taskscheduler
Add Experiment TaskScheduler
2015-04-10 16:30:46 +10:00
Alex Maitland 6030977ed8 Merge pull request #931 from amaitland/cleanup/isloading
Rename NavStateChanged to LoadingStateChanged
2015-04-10 08:11:31 +10:00
amaitland 484a2de0a2 Move CefTaskScheduler from CefSharp.BrowserSubprocess.Core to CefSharp.Core
Add ITaskScheduler interface to simplify the code
2015-04-09 11:25:37 +10:00
amaitland 11cd688847 Get plugins using a task wrapper around CefWebPluginInfoVisitor 2015-04-08 17:21:44 +10:00
amaitland d55ea0c90e Rename NavStateChanged to LoadingStateChanged 2015-04-08 11:09:37 +10:00
amaitland 7621cbb745 Remove IsLoadingChangedEventArgs 2015-04-08 11:05:12 +10:00
Alex Maitland a434d3ca6a Merge pull request #900 from amaitland/feature/dependencychecker
Implement DependencyChecker
2015-04-02 10:08:49 +10:00
rassilon 48c2550011 Fix #918 by adding extension method to cast from IntPtr to Int32 2015-03-31 10:26:09 -04: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 0eda96841c Add rough draft of DependencyChecker - loops through list of all Cef/CefSharp dependencies 2015-03-24 10:58:43 +10:00
amaitland 1e7e2210ad Rename JavascriptCallbackDto to JavascriptCallback 2015-03-12 11:29:14 +10:00
amaitland c8d9272508 Rename JavascriptCallback to JavascriptCallbackProxy 2015-03-12 11:26:46 +10:00
amaitland a5688b4510 Revert "Remove WCF Surrogate and inject browser host"
This reverts commit 746e51432a.
2015-03-12 11:08:01 +10:00
amaitland 746e51432a Remove WCF Surrogate and inject browser host 2015-03-11 14:46:36 +10:00
David Serfozo 0644cf1c18 added actual callback code on browserprocess side and IJavascriptCallback 2015-03-08 16:15:41 +01:00
David Serfozo 98ba30bf5d added wcf operations to do javascript callbacks 2015-03-08 13:22:56 +01:00
David Serfozo bb4fe467b8 added JavascriptCallbackRegistry and wired up 2015-03-08 13:11:09 +01:00
rassilon 6d8f8866b0 Rename files to new name. 2015-03-03 00:19:52 -05:00
amaitland aada02c356 Add ScreenInfo class to represent Width/Height/ScaleFactor 2015-03-02 10:40:01 +10:00
amaitland b6ac43a0a8 Merge remote-tracking branch 'remotes/upstream/master' into improvements/more-wpf-rendering-tweaks 2015-02-15 22:26:03 +10:00
amaitland 6d4a766c32 Remove IMouseEvent interface - served no real purpose 2015-02-03 23:07:00 +10:00
amaitland da16d9f0eb Cleanup code as per feedback in PR #732 2015-02-03 23:05:43 +10:00