Commit Graph

3021 Commits

Author SHA1 Message Date
Alex Maitland 0900a6cd32 Merge pull request #1011 from amaitland/enhancement/favicon
Add OnFaviconURLChange
2015-05-07 15:22:40 +10:00
Bill Tutt bc3f89ddc4 Merge pull request #996 from rassilon/CefSharpBrowserWrapper
Part 1 of Wrap CefBrowser.
2015-05-07 00:00:43 -04: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
Bill Tutt 1393e58eb3 Fix build problem. No need to call .Dispose directly on disposables. 2015-05-05 22:20:35 -04:00
Bill Tutt 1f59244b81 Merge remote-tracking branch 'origin/cef/2272' into CefSharpBrowserWrapper 2015-05-05 18:26:05 -04:00
Bill Tutt be718159f0 Add Dispose destructors for FrameWrapper and BrowserWrapper. 2015-05-04 20:44:46 -04:00
Bill Tutt 455f536316 Remove empty line. 2015-05-04 20:22:43 -04:00
Bill Tutt eee3195436 Make the interface more friendly to .Net by using properties with IBrowser. 2015-05-04 19:31:08 -04:00
Bill Tutt 21efc10628 Use .Net friendly property names. 2015-05-04 19:15:57 -04:00
Bill Tutt ac0b52d646 Return Async task for GetSource/GetText based on review. 2015-05-04 18:52:34 -04:00
Bill Tutt 3d4f2a76d6 Add extra overload based on feedback. 2015-05-04 18:39:17 -04:00
amaitland 2821227448 Add additional xml doc and untabify 2015-05-04 16:45:21 +10:00
amaitland db3956bbe4 Add ILifeSpanHandler.OnBeforePopup no_javascript_access as ref param 2015-05-04 16:39:18 +10:00
amaitland 46c0a99899 Make OnPreKeyEvent isKeyboardShortcut a ref param 2015-05-04 16:39:18 +10:00
Alex Maitland 38665f7dc2 Merge pull request #955 from amaitland/cleanup/resourcehandler
Rewrite ResourceHandler/SchemeHandler
2015-05-04 15:30:59 +10:00
amaitland eabbcf64c1 Remove pragma once from cpp files, only needed in header files
(Was just adding to every file before without really thinking what I was doing, pretty harmless regardless).
2015-05-04 15:04:03 +10:00
amaitland e9ffd13f47 Update copyright year 2015-05-04 14:42:35 +10:00
amaitland d9a3f3dd31 Remove duplicate using 2015-05-04 14:38:20 +10:00
amaitland f8691fdee6 Merge remote-tracking branch 'remotes/upstream/cef/2272' into cleanup/resourcehandler 2015-05-04 14:34:31 +10:00
amaitland 88a3989259 Add CefSettings.PersistSessionCookies 2015-05-04 08:58:58 +10:00
Bill Tutt 872cb06c71 Part 1 of Wrap CefBrowser. 2015-05-02 23:32:22 -04:00
Bill Tutt 86f65c12ca Merge pull request #988 from rassilon/CefFrameWrapper
CefFrameWrapper implementation
2015-05-02 23:01:35 -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 dcd56c27eb Add some descriptive comments about what some of the subprocess classes do. 2015-05-02 02:36:10 -04:00
Bill Tutt 71c9cbac6d Merge remote-tracking branch 'origin/cef/2272' into CefFrameWrapper 2015-05-02 02:34:30 -04:00
Bill Tutt 1016329280 Merge remote-tracking branch 'origin/master' into cef/2272
Conflicts:
	CefSharp.BrowserSubprocess/app.manifest
	CefSharp.WinForms.Example/app.manifest
	CefSharp/Properties/AssemblyInfo.cs
	build.ps1
2015-05-02 02:33:50 -04: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 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