amaitland
2b905c1d01
BrowserSettings - Add command line arg xml doc comment to Javascript property
2019-01-09 14:39:24 +10:00
Alex Maitland
ce38ed81f0
Add IApp interface and DefaultApp implementation ( #2616 )
...
* Core - Add IApp interface and DefaultApp implementation
Move code from Cef.Initialize into CefSharpApp
Working towards #2139
* CefSharpApp.h - Allow CefCustomScheme->SchemeHandlerFactory to be null
If cefCustomScheme->SchemeHandlerFactory is null then we no longer attempt to call CefRegisterSchemeHandlerFactory
You can then choose which RequestContext you wish to register your handler for, no longer forcing you to register
in the global context
Remove null checks in OnScheduleMessagePumpWork as we're throwing an exception if they're null when the CefApp is created
2019-01-09 05:57:57 +10:00
amaitland
f8349db9af
Cef.h - Remove ThrowIfCefNotInitialized
...
As IsInitialized is set when CefInitialize returns and it appears to be possible the OnContextInitialized is called
before it returns then this exception wasn't going to work.
Testing with Cef.GetGlobalRequestContext and Cef.GetGlobalCookieManager and they both return null if called before Cef.Initialize
So it shouldn't be possible to actually access the cookie manager/RequestContext. Improved the xml doc
Resolves #2600
2019-01-01 21:47:51 +10:00
amaitland
49e543f48d
Add AbstractCefSettings.EnableNetSecurityExpiration
...
Resolves #2615
2019-01-01 21:19:33 +10:00
Alex Maitland
02e3084af3
Add Chromium Extension Support ( #2613 )
...
* Add Chromium Extension Support
Add IRequestContext.LoadExtension
Add IExtensionHandler
Add IExtension
Add example (import from cefclient) - was added to CefSharp.WinForms.Example projct
Add RequestContextExtensions - to make loading an extension slightly easier
2018-12-31 13:12:10 +10:00
amaitland
90054f9497
Cef.h - Temporarily comment out ThrowIfCefNotInitialized
...
There appears to be a timing issue/race condition, see https://github.com/cefsharp/CefSharp/issues/2600#issuecomment-450551309 for details
2018-12-30 21:56:28 +10:00
amaitland
809a7859b6
Update version numbers to 71.0.0
2018-12-28 13:52:03 +10:00
amaitland
38934a1d64
AbstractCefSettings - Default to using the process-per-site-instance process model
...
Resolves #2553
2018-12-28 13:51:46 +10:00
amaitland
2612c68002
Add IBrowserHost.RunFileDialog
...
Demo added to WinForms project
Resolves #2594
2018-12-28 13:39:33 +10:00
campersau
2942f71d32
Fix OffScreen spelling ( #2614 )
2018-12-28 07:01:52 +11:00
amaitland
6540813849
Cef.h - Improve error message when calling method before Cef Initialized
...
- InitializedCheck renamed to ThrowIfCefNotInitialized
- ThrowIfCefNotInitialized added to more methods
Follow up to #2605
2018-12-27 21:33:17 +10:00
Chris
5d658c7eb0
Cef - Added initialized checks to Cef.Get* ( #2605 )
2018-12-27 22:16:18 +11:00
amaitland
9c742e0aac
IBrowserHost.ImeSetComposition/ImeCommitText - Add ReplacementRange
...
IBrowserHost.ImeCommitText - Add relativeCursorPos
The CEF doc https://magpcss.org/ceforum/apidocs3/projects/(default)/CefBrowserHost.html says they should be optional params and only required on Mac OSX
Reports suggest they are required.
Resolves #2599
2018-12-27 21:14:36 +10:00
amaitland
11a8371e19
Rename CefExtension to V8Extension
...
Resolves #2612
2018-12-27 15:47:29 +10:00
amaitland
bbf7795d80
WPF/OffScreen - Add OnAcceleratedPaint
...
Exposes the CEF API for Shared D3D11 Texture support. This should be considered experimental as there are quite a few known bugs in the CEF implementation
(PDF Viewer not working correctly)
OffScreen.ChromiumWebBrowser.CreateBrowser API changed (breaking change) now pass in `WindowInfo` to customise settings
Refactor CreateBrowser to support windowed and OSR rendering (now accepts IWindowInfo)
Resolves #2527
2018-12-16 19:37:12 +10:00
amaitland
c618dc155b
RenderClientAdapter.h - GetViewRect must return a CefRect
...
CEF API Change see https://bitbucket.org/chromiumembedded/cef/commits/09afa3a843531a1768896bed3f64fb49ed81b525?at=3578
2018-12-16 10:48:52 +10:00
amaitland
8d3eb356a1
Upgrade to CEF 3.3578.1860.g36610bd / Chromium 71.0.3578.80
2018-12-16 05:13:32 +10:00
Chris
98d7262987
Refactoring - Move CefCookie conversion to TypeConversion ( #2597 )
2018-12-13 10:59:05 +01:00
Chris
4846471d0f
Added SourcePath to CefSharp.Core and CefSharp.BrowserSubprocess.Core ( #2595 )
...
* Added include path to CefSharp.Core and CefSharp.BrowserSubprocess.Core
* Changed from IncludePath to SourcePath
2018-12-12 08:39:14 +10:00
amaitland
66919cf170
AbstractCefSettings - Remove stray forward slash from xml doc
2018-12-10 12:15:44 +10:00
amaitland
f938b24964
CefRequestContextHandlerAdapter - Remove stray double quote
2018-12-10 09:46:04 +10:00
Chris
d5aeb20fda
Enabled MultiProcessorCompilation for CefSharp.Core and CefSharp.BrowserSubprocess.Core ( #2596 )
2018-12-09 13:10:55 +01:00
amaitland
485297bb7f
Fix some xml doc encoding issues
2018-11-19 13:22:45 +10:00
amaitland
cbd87dc7ce
OnContextCreated/OnContextDestroyed - only continue if valid frame ptr
...
Follow up to #2563
2018-11-09 07:13:34 +10:00
Mitch Capper
921929484a
Make sure frame is not null before accessing it ( #2563 )
...
closes #256
2018-11-09 07:09:39 +10:00
amaitland
958df1dc1d
CefSettings.BrowserSubProcessPath - Change default absolute path to be relative to CefSharp.Core assembly location.
2018-11-07 12:01:37 +10:00
Alex Sukhovy
304a300b0c
Call OnContextCreated and OnContextReleased for each frame ( #2373 )
...
* ContextEvents for each frame
* set CanExecuteJavascriptOnMainFrame
* example and comments
* whitespace fix
* comments
* whitespace
* update comments
2018-10-28 16:48:50 +10:00
amaitland
ce93352345
Upgrade version numbers to 70.0.0
2018-10-28 10:53:26 +10:00
amaitland
4e50ad8a95
Upgrade to CEF 3.3538.1849.g458cc98 / Chromium 70.0.3538.77
2018-10-28 10:46:02 +10:00
amaitland
f146a00b1f
Cef.Initialize - Only validate browsersubprocesspath file exists specifically if dependency check is false
2018-10-26 13:22:08 +10:00
amaitland
30ba596db7
CefSettings/Cef.Initialize - Improve BrowserSubprocessPath checks
...
Change to using an absolute path for the BrowserSubprcessPath and validate the file exists in Cef.Intialize
2018-10-26 13:18:33 +10:00
amaitland
23b905dbda
Upgrade to CEF 3.3497.1841.g7f37a0a / Chromium 69.0.3497.100
2018-10-23 12:58:37 +10:00
amaitland
8282482758
Upgrade to CEF 3.3497.1840.gcd24143 / Chromium 69.0.3497.100
2018-10-16 12:24:07 +10:00
amaitland
35414cac7a
Scheme Handling - Don't attempt to register http or https schemes
...
http and https are built in schemes and don't need to be registered
Convert scheme name to lowercase
2018-10-09 20:26:15 +10:00
João Neves
8025139382
ManagedCefBrowserAdapter disposes methodRunnerQueue before destroying browser to prevent crash ( #2529 )
...
* Close cefsharp subprocess if main process dies
* Fixed crash when disposing browser and there's a pending method invocation
* Fixed crash when disposing browser and there's a pending method invocation
2018-10-05 12:40:58 +10:00
amaitland
529a463613
Upgrade to CEF 3.3497.1834.g0a87d5f / Chromium 69.0.3497.100
2018-09-30 15:22:53 +10:00
amaitland
dcff3d0094
IJsDialogHandler - Rename OnJSBeforeUnload to OnBeforeUnloadDialog
...
Also fix xml doc
Resolves #2523
2018-09-25 20:56:31 +10:00
amaitland
557b279093
Upgrade to CEF 3.3497.1833.g13f506f / Chromium 69.0.3497.100
2018-09-23 21:05:06 +10:00
amaitland
d136830443
CefApp::OnBeforeCommandLineProcessing - When value empty call AppendSwitch
...
Previously called AppendSwitchWithValue which fails now as it checks for a value
Resolves #2341
2018-09-23 20:30:22 +10:00
amaitland
d8611436b3
V8Serialization - Combine if/else branches for enum serialization
...
Follow up to #2502
2018-09-23 20:02:39 +10:00
Wolfgang Kurz
0121b1c457
Enum serialization added to V8Serialization.cpp ( #2502 )
...
* Enum serialization added
* Revert codepage to 1252
2018-09-23 19:58:27 +10:00
amaitland
732f5851de
Upgrade to CEF 3.3497.1829.g004ef91 / Chromium 69.0.3497.81
2018-09-16 13:01:45 +10:00
amaitland
05b37ab615
ClientAdapter::OnBeforePopup - throw exception if return true and newBrowser != null
...
Hopefully this reduces the number of support requests
2018-09-15 19:46:54 +10:00
amaitland
1a37c63182
Cef.Initialize - Improve xml doc
2018-09-15 19:33:49 +10:00
amaitland
6602977496
Upgrade version number to 69
2018-09-10 13:27:10 +10:00
amaitland
b24286d591
Upgrade to CEF 3.3497.1827.ga4f7e36 / Chromium 69.0.3497.81
2018-09-10 12:13:39 +10:00
Chris
bef5dd37c4
Maintenance - Fixed formatting, file encoding, and copyright year ( #2504 )
...
* Applied formatting
* Fixed file encoding + Updated copyright year
* Updated License
* Fixed more file encoding
* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland
28f43261b6
Xml Doc - Add more comments and fixes
2018-09-05 13:02:43 +10:00
amaitland
8ed2681619
Xml Doc - Add some more xml doc
...
Some of it's just placeholder doc to keep sandcastle happy
2018-09-05 13:01:41 +10:00
amaitland
fe1d542b54
RenderClientAdapter - Add missing OVERRIDE statements
2018-08-16 19:38:17 +10:00