Commit Graph

98 Commits

Author SHA1 Message Date
amaitland 37384a9461 Rename SchemeHandlerResponse to ResourceHandlerResponse 2015-05-27 17:14:42 +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 7776438ea0 Remove IBrowserAdapterNative, and add nullptr checks for GetCefBrowser return value. 2015-05-02 04:37:48 -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 83f3a697bc Upgrade to 3.2272.30 - API changed so build is broken, more changes to follow
(Use the `2272` nuget feed as that's where the new packages were uploaded to)
2015-04-28 13:45:02 +10:00
amaitland fd4a080c5d Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler 2015-04-28 07:32:39 +10:00
amaitland ac15d23af7 Rename SetCookieInvoker to CookieAsyncWrapper 2015-04-26 08:22:11 +10:00
amaitland 73cd506f76 Create wrapper class to call SetCookie async using new Task factories 2015-04-26 08:22:01 +10:00
rassilon 9f3832d06c Make utility class for reporting unhandled exceptions. 2015-04-25 17:54:31 -04:00
rassilon 61ce52a2a4 Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/SchemeHandlerFactoryWrapper.cpp
	CefSharp.Core/SchemeHandlerFactoryWrapper.h
	CefSharp.Core/SchemeHandlerResponse.cpp

Merge merge merge, merges are fun.
2015-04-25 03:06:21 -04:00
amaitland c81d73c587 Split CefTaskWrapper out into it's own .h file 2015-04-24 12:02:15 +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 c96f8a82d6 Add TaskFactories in the main process for UI/File/IO, and utilize the UI task factory for GetZoomLevel, and implement GetZoomLevelAsync. 2015-04-22 00:14:29 -04:00
amaitland c66b28a645 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-04-21 11:54:56 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +10:00
amaitland 94fa0f0e48 Inline SchemeHandlerFactoryWrapper::Create (for such a small .cpp file it didn't make a lot of sense) 2015-04-17 13:07:03 +10:00
amaitland 6480706ced Rename SchemeHandlerWrapper to ResourceHandlerWrapper 2015-04-17 13:07:03 +10:00
rassilon 06e26f132d GetZoomLevel is required to be called from the UI thread, but it has a failure mode of just returning 0. Here's a cheesy temporary solution to adding a full on GetZoomLevelAsync method that returns a .Net task. 2015-04-16 15:15:01 -04:00
Alex Maitland 5c40ff0af3 Merge pull request #933 from amaitland/experiment/taskscheduler
Add Experiment TaskScheduler
2015-04-10 16:30:46 +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 9f67f6c525 Update to 3.2272.25 (new git based naming) 2015-03-31 12:37:57 +10:00
amaitland 171abe8ee7 Upgrade to 3.2171.2069 2015-03-27 11:54:44 +10:00
amaitland 6c60da63c8 Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-03-23 08:49:45 +10:00
amaitland a7b8e1eb76 Remove MouseButtonType as it's not required - enum values match those of Cef, so just pass in as int and cast when required
(Should be much more efficient than switch statement)
2015-03-19 10:58:18 +10:00
amaitland 2df2a05be7 Update to 2272 nuget packages
Updated OnCertificateError and OnFileDialog as API changed - build now compiles
2015-03-18 11:13:49 +10:00
amaitland 649c497387 Remove nuget msbuild target from vc++ projects 2015-03-06 18:00:00 +10:00
amaitland 00b25f5e3f Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files 2015-02-14 12:04:59 +10:00
amaitland 43765ad1c3 Upgrade to 3.2171.1979 2015-01-27 20:03:25 +10:00
amaitland 5d6528f441 Added myget feed to NuGet.config (Uploaded latest redist/sdk pages to myget)
Upgrade to 3.2171.1972
2015-01-21 10:53:33 +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 57dad250f7 Add TypeConversion class as a common place for simple static methods used to convert to/from cef objects 2015-01-08 11:22:54 +10:00
amaitland 6ef03d4cc5 Simplify CefWebPluginInfoWrapper - no need to keep reference, simply read values into properties (Reduces risk of memory leaks if user keeps reference to IWebPluginInfo for some reason) 2015-01-08 10:44:11 +10:00
amaitland 22f70bbb9e Copy the buffer directly into the bitmap rather than converting to InteropBitmap then back again
Bitmap property was unused, so change to IsCleared property for now
2014-12-30 12:37:00 +10:00
amaitland c7032ea83c Upgrade to Cef 3.2171.1949
OnCursorChange Signature has changed
2014-12-18 22:23:25 +10:00
amaitland 7ef8406179 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-12-09 21:38:44 +10:00
amaitland 44fa848682 First attempt at implementing CefDragDataWrapper which provides a clr wrapper around CefDragData 2014-12-08 22:08:38 +10:00
dimas 094df1aab1 Implementing invalidate 2014-12-04 17:42:21 +07:00
amaitland e9defe1523 Update to 3.2171.1902-pre packages 2014-11-19 22:58:46 +10:00
amaitland d2eaacec24 Merge remote-tracking branch 'remotes/upstream/master' into cef/2171 2014-11-19 22:51:29 +10:00
amaitland 02da2d5d26 Move Response class into c# land 2014-11-18 12:03:58 +10:00
amaitland 13349a93cf Revert "Split RequestResponse into Request and Response objects"
This reverts commit 66d953d2b3.
2014-11-05 13:54:50 +10:00