Commit Graph

6294 Commits

Author SHA1 Message Date
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 98019820e4 Explain why the Native interface is necessary. 2015-05-02 00:11:13 -04:00
Bill Tutt 4195b8a2d6 Adding browse info seemed to help Core intellisense, so add it here too. 2015-05-02 00:09:47 -04:00
Bill Tutt 140defb5b6 More license blocks. 2015-05-02 00:09:24 -04:00
Bill Tutt ba90bb3a5e Add comment about purpose of MCefRefPtr. 2015-05-02 00:07:27 -04:00
Bill Tutt afcb11c7c2 Merge remote-tracking branch 'origin/cef/2272' into CefFrameWrapper 2015-05-02 00:03:02 -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
Alex Maitland 78cf22efca Merge pull request #993 from jamespearce2006/issue985
NullReferenceException in ChromiumWebBrowser if not yet in VisualTree
2015-05-02 07:21:51 +10:00
amaitland 0cc73eba3a Make as many classes internal as possible.
Unfortunately cli/c++ doesn't support InternalsVisibleTo properly, so can't make everything internal
http://colins-corner.blogspot.com.au/2009/03/internalsvisibleto-ccli-and-asfriend.html
2015-05-02 07:09:48 +10:00
amaitland 0eeacddd78 Sign the OffScreen project (using existing snk file) 2015-05-02 06:55:27 +10:00
jamespearce2006 928d576164 NullReferenceException in ChromiumWebBrowser if not yet in VisualTree 2015-05-01 15:00:35 +01:00
Alex Maitland bb31ddc2c6 Update README.md
Add OffScreen reference
Update cefglue link
2015-05-01 22:44:35 +10:00
Alex Maitland a11b69d870 Merge pull request #980 from amaitland/enhancement/mvvm-light
Update WPF example to use Mvvm Light
2015-04-30 12:23:00 +10:00
amaitland 88355c3da9 Update WPF example to use Mvvm Light (replace our basic MVVM implementation)
Makes sense to use an established framework for this sort of thing.
2015-04-30 12:21:38 +10:00
amaitland d85d972391 Set no_sandbox = true
Still logs a `Running without renderer sandbox` message, hopefully one day it'll work
v39.0.1
2015-04-30 10:26:33 +10:00
Bill Tutt d1cde97f6c Add license. 2015-04-29 01:17:44 -04:00
Bill Tutt 26ec64e587 Copy/Paste frame APIs from CefBrowser into ManagedCefBrowserAdapter.*
Start stubbing out some implementations in CefFrameWrapper.h

(This doesn't build yet, don't bother trying... )
2015-04-29 01:13:50 -04:00
Alex Maitland 744edbce02 Merge pull request #986 from Erguotou/master
Add Visual Studio 2015 support
2015-04-29 10:52:18 +10:00
Erguotou 3e941de12c Add Visual Studio 2015 support
Redirect VS2015 to use VS2013 binaries and toolset in CefSharp.props.

Added .vs folder to .gitignore, as it contains the .suo files and
intellisense database used by VS2015. See
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6079923-store-project-related-information-in-vs-folder-to
for more details.
2015-04-28 17:29:22 -07:00
amaitland e03c10ee87 Upgrade version numbers in preparation of 39.0.1 release 2015-04-28 17:58:22 +10: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
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
Alex Maitland 0b6dd03904 Merge pull request #981 from amaitland/enhancement/taskscheduler
Implement CefTask
2015-04-28 11:57:39 +10:00
amaitland ed716a5da1 CefTaskWrapper now implements CefTask and can be passed directly into CefPostTask 2015-04-28 11:41:43 +10:00
amaitland 05d7860cb2 Update IWebBrowser xml doco for Get/Set ZoomLevel 2015-04-28 10:52:48 +10:00
amaitland bdec0cb880 Add ZoomLevel property to the IWpfWebBrowser interface 2015-04-28 10:43:10 +10:00
amaitland ac0dc31b2e Pedantic code cleanup - no need to call .get() as the argument is expecting a CefRefPtr 2015-04-28 10:38:19 +10:00
amaitland 6f55e40718 CefTaskWrapper Make _task and _scheduler private 2015-04-28 10:38:18 +10:00
Alex Maitland f88ffa56f3 Merge pull request #979 from Erguotou/vs2015
Add Visual Studio 2015 support
2015-04-28 10:18:56 +10:00
rassilon 56b68f865f Merge remote-tracking branch 'origin/master' into cef/2272 2015-04-27 19:34:23 -04:00
Bill Tutt b3cf3c4f8f Merge pull request #978 from rassilon/BreakZoomLevelProp
Continue the TaskScheduler items by replacing the ZoomLevel property with GetZoomLevelAsync and SetZoomLevel.
2015-04-27 19:11:32 -04:00
rassilon 33d4dbd816 Call SetCurrentValue instead. 2015-04-27 18:41:12 -04:00
amaitland 48268721c0 Use Task to execute scheme handler in async fashion 2015-04-28 08:30:11 +10:00
rassilon fdd5508467 Continue the TaskScheduler items:
* Replace IWebBrowser.ZoomLevel property with:
   GetZoomLevelAsync(), and SetZoomLevel().
2015-04-27 18:20:32 -04:00
Erguotou fac49202c6 Add Visual Studio 2015 support
Redirect VS2015 to use VS2013 binaries and toolset in CefSharp.props.

Added .vs folder to .gitignore, as it contains the .suo files and
intellisense database used by VS2015. See
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/6079923-store-project-related-information-in-vs-folder-to
for more details.
2015-04-27 15:02:58 -07:00
amaitland fd4a080c5d Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler 2015-04-28 07:32:39 +10:00
Alex Maitland ffc5bf4b18 Merge pull request #964 from amaitland/async/setcookie
Async SetCookie
2015-04-26 09:07:40 +10:00
amaitland ac15d23af7 Rename SetCookieInvoker to CookieAsyncWrapper 2015-04-26 08:22:11 +10:00
amaitland fe5543c6af Move DeleteCookies into SetCookieInvoker (will rename class shortly) 2015-04-26 08:22:10 +10:00
amaitland 73cd506f76 Create wrapper class to call SetCookie async using new Task factories 2015-04-26 08:22:01 +10:00
Bill Tutt a769a53f41 Merge pull request #974 from rassilon/PropErrorsTaskWrapperSomewhere
Make utility class for reporting unhandled exceptions.
2015-04-25 18:16:40 -04:00
rassilon 3c17379c46 Add license. 2015-04-25 18:14:47 -04:00
rassilon 3a6f9d0d80 Helps to add the new file. 2015-04-25 18:07:21 -04:00
amaitland 232a180cf9 Update CEF Google Code references to new bitbucket site 2015-04-26 08:02:30 +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
rassilon 34398f0c3f Merge remote-tracking branch 'origin/master' into cef/2272 2015-04-25 02:55:40 -04:00
rassilon 4275da30b7 The other two hiding tab files. Be gone! 2015-04-25 02:48:37 -04: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
Bill Tutt 7e3141a248 Merge pull request #969 from rassilon/PropErrorsTaskWrapperSomewhere
Propagate TaskWrapper exceptions to unhandled exception handler.
2015-04-25 01:44:01 -04:00