Commit Graph

1628 Commits

Author SHA1 Message Date
jamespearce2006 ba0c0c1f19 force appveyor rebuild 2015-05-18 20:12:34 +01:00
jamespearce2006 7ea66af1cc Auto-close blank popups when download is complete 2015-05-18 19:12:46 +01:00
Bill Tutt adb5ae0d77 More work on wrapping CefBrowser/CefFrame. 2015-05-17 17:41:44 -04:00
amaitland d4b4e5fd35 Manually apply merge changes from master to ManagedCefBrowserAdapter as it's now split into .h and .cpp, so can't auto merge changes 2015-05-13 09:32:50 +10:00
amaitland 0413c0bc6c Merge remote-tracking branch 'remotes/upstream/master' into cef/2272 2015-05-13 09:29:07 +10:00
amaitland e0730250fb Directly access BrowserSettings as they're internal (extra property and wrapper seems redundant) 2015-05-12 14:35:05 +10:00
amaitland 6805c188e7 Uppercase S in OffScreen - match caseing of CefSharp.OffScreen project name
Use property syntax for brevity (can use short hand in ref classes)
2015-05-12 11:05:41 +10:00
amaitland 3b27034b35 Simplify OffscreenTransparentBackground nullable bool - use GetValueOrDefault 2015-05-12 11:01:40 +10:00
jamespearce2006 118cae0c24 Use BrowserSettings instead of separate property 2015-05-11 09:07:26 +01:00
jamespearce2006 885f80940d Allow disabled transparency /w OSR 2015-05-08 20:36:21 +01:00
jamespearce2006 e20fad9081 Simplify XAML example 2015-05-08 11:14:29 +01:00
jamespearce2006 da9d4df2c8 Cleanup code formatting 2015-05-07 23:40:56 +01:00
jamespearce2006 608d97a0b4 Fixed conflicts 2015-05-07 22:42:19 +01:00
jamespearce2006 ae61994c3d Offscreen popup support 2015-05-07 18:32:14 +01: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
Alex Maitland 16ba0ab6a5 Merge pull request #1008 from amaitland/enhancement/requestcallback
Implement CefRequestCallback wrapper
2015-05-07 15:24:44 +10:00
Alex Maitland 0900a6cd32 Merge pull request #1011 from amaitland/enhancement/favicon
Add OnFaviconURLChange
2015-05-07 15:22:40 +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 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
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 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
jamespearce2006 8213471364 Testing changes to OnPopup 2015-05-05 17:31:46 +01: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 db3956bbe4 Add ILifeSpanHandler.OnBeforePopup no_javascript_access as ref param 2015-05-04 16:39:18 +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 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 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 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 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 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 d85d972391 Set no_sandbox = true
Still logs a `Running without renderer sandbox` message, hopefully one day it'll work
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
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