Commit Graph

606 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
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 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
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 ed716a5da1 CefTaskWrapper now implements CefTask and can be passed directly into CefPostTask 2015-04-28 11:41:43 +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
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 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
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
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 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
rassilon 22d34c9824 Happy builds make happy build bots. 2015-04-25 00:30:06 -04:00
rassilon 3804c6e3c2 Fix method name. 2015-04-25 00:20:17 -04:00
rassilon 2602605bae Push through exception insetad of just string. 2015-04-25 00:04:38 -04:00
rassilon d8b707fb4b Propigate TaskWrapper exceptions:
Log an ERROR message via CEF logging, and throw an appropriate exception on thread pool thread.

The idea is that the AppDomain's UnhandledException or Application.ThreadException handler will get called.
2015-04-24 10:35:29 -04:00
amaitland c81d73c587 Split CefTaskWrapper out into it's own .h file 2015-04-24 12:02:15 +10:00
Alex Maitland faa70ba789 Merge pull request #962 from amaitland/implement/requesthandler
Implement Missing CefRequestHandler Methods
2015-04-24 11:08:27 +10:00
amaitland a9aeaecda5 Comment out example and remove TODO 2015-04-24 10:51:16 +10:00
rassilon 5f8e2bbb11 Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler 2015-04-23 19:40:09 -04:00