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
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
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
rassilon
cf25cc0518
Merge remote-tracking branch 'origin/master' into cef/2272
...
Conflicts:
CefSharp.Core/ManagedCefBrowserAdapter.h
2015-04-23 19:38:41 -04:00
rassilon
6209c9d754
Fix merge blunder.
2015-04-22 20:06:36 -04: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
554d344b97
Now that they're all in one spot, split them into sensible groups, and add comment for async task private methods.
2015-04-22 19:24:15 -04:00
rassilon
66f74089e5
This ought to fix #928 .
...
Use GetFocusedFrame() for all clipboard and undo/redo stack activities.
2015-04-22 19:14:32 -04:00
amaitland
e23fef14e2
Missed adding this in previous commit - rename IsKeyDown
2015-04-23 09:12:05 +10:00
amaitland
533964105e
Group public and private methods together.
...
Make some methods private that were previously public
Remove Overload for `Reload` - not required
Rename `isKeyDown` to `IsKeyDown`
2015-04-23 08:41:13 +10:00
amaitland
8fc4574225
Merge remote-tracking branch 'remotes/upstream/master' into cef/2272
2015-04-23 08:25:18 +10:00
rassilon
1a31b991ac
Move rest of non-simple functions to .cpp file.
...
Rename private GetZoomLevel to GetZoomLevelOnUI to further indicate what thread it should run on.
Make WPARAM keyboard related functions private:
isKeyDown and GetCefKeyboardModifiers.
2015-04-22 10:46:07 -04:00
rassilon
701d391c59
Adding .Net enum of CefThreadId (mostly to be able to call .ToString()).
...
Added license headers on new files.
Remove sync version of GetZoomLevel on ManagedCefBrowserAdapter.
Updated callers to call GetZoomLevelAsync() but in a blocking sync manner.
Added CurrentlyOn/EnsureOn static methods to CefTaskScheduler.
2015-04-22 08:19:36 -04:00