amaitland
4ffaeb8cab
IMPLEMENT_REFCOUNTING template changed - Add missing semi colon
...
Follow up to https://github.com/cefsharp/CefSharp/commit/8d70f836860d3d1bf1593afbae66bb60cfa737c7
(Seems I missed a few cases)
https://github.com/chromiumembedded/cef/commit/725ed88529d7542e64b9735cf0da137d8a80a8b9#diff-221201fe823e7238023e4e7f7083e26fL142
2019-04-26 07:32:01 +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
11a8371e19
Rename CefExtension to V8Extension
...
Resolves #2612
2018-12-27 15:47:29 +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
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
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
d87e795000
WinForms/Wpf/OffScreen - Create specific CefSettings class for each version
...
- This is a breaking change as there is no common `CefSharp.CefSettings`, there is no `CefSharp.Wpf.CefSettings`, `CefSharp.WinForms.CefSettings` and `CefSharp.OffScreen.CefSettings`
- Cef.Initialize has been removed, the `ChromiumWebBrowser` constructor will call the `Cef.Initialize` with the defaults for your flavour
- CefSettings.FocusedNodeChangedEnabled has been moved to CefSharpSettings.FocusedNodeChangedEnabled
Resolves #2477
2018-08-02 10:47:12 +10:00
amaitland
3b6ff2fdbd
WPF - Mouse Scroll becomes unresponsive
...
Add Hack to CefSharpApp to allow for setting of disable-features command line arg
Add the example command line args
https://github.com/cefsharp/CefSharp/issues/2408
2018-06-14 22:33:47 +10:00
amaitland
e4535ab9df
CefSharpSettings.SubprocessExitIfParentProcessClosed - only spawn task to monitor parent if command line arg present
...
Follow up to #2375
2018-06-11 22:18:51 +10:00
amaitland
f2fcbf0add
Always pass through Process Id to subprocess
...
Improve command line parsing
Partial import of changes from #2375
2018-04-30 12:45:15 +10:00
Chris
7e2594d2e3
Added CefCustomScheme.IsCspBypassing
...
Resolves #2038
2017-08-29 18:00:36 +02:00
amaitland
79b5a8e5a6
Add error logging for CefApp::OnRegisterCustomSchemes
2017-05-08 13:27:42 +10:00
amaitland
5b472f7258
Upgrade version numbers to 58 - this is for development purposes only, there is no planned 58 version, next version is 59
...
Upgrade to CEF 3.3029.1611.g44e39a8 / Chromium 58.0.3029.81
2017-05-05 10:46:54 +10:00
amaitland
e5ecfde20f
Upgrade version number to 57.0.0
...
Upgrade to cef.redist.x86.3.2987.1591
CefSchemeRegistrar::AddCustomScheme has new params - IsSecure and IsCorsEnabled
Also new CefRawPtr type is used for Scheme registra
2017-03-13 10:58:03 +10:00
Chris
cd934267c6
Updated copyright year and made sure it used same format everywhere ( #1966 )
2017-03-06 08:44:37 +10:00
amaitland
490a5bee15
WCF communication was broken as channel argument which we previously parsed to get the parent process Id was removed in https://bitbucket.org/chromiumembedded/cef/issues/1912/notreached-in-logchannelidandcookiestores
...
Simply append our own command line argument with the process Id.
2016-12-02 06:44:23 +10:00
amaitland
e7a5c0c3dd
IBrowserProcessHandler now implements IDisposable
2016-09-01 14:33:18 +10:00
amaitland
2f4e613f9a
Add missing OnScheduleMessagePumpWork method to CefSharpApp
2016-09-01 11:44:40 +10:00
amaitland
63ef6beb5f
Refactor OnContextInitialized out as part of IBrowserProcessHandler interface
...
Add OnScheduleMessagePumpWork for use with integrating into existing message loop - probably better for WinForms integration, will look at providing an example later
2016-07-20 13:08:47 +10:00
amaitland
bae3c28e92
Update copyright to 2016
2016-01-11 14:11:30 +10:00
Rich McNeary
a27a097df6
Change from EnableFocusedNodeChanged to FocusedNodeChangedEnabled to match the existing WindowlessRenderingEnabled setting property.
2016-01-05 07:30:23 -05:00
Rich McNeary
443804084e
Changed to specifically request FocusNodeChanged messages.
2015-12-08 09:04:22 -05:00
Rich McNeary
1fb54241f7
Add the OptionalMessages property to CefSettings.
2015-12-07 16:27:17 -05:00
amaitland
b9ee476e8e
Fix up some of the vc++ include mess that we had going
...
Cleanup using namespace statements as well
2015-09-29 16:26:06 +10:00
amaitland
e492c0d21e
Fixes #1263
...
Pass in CefCustomScheme as command line argument, as they're registered correctly in all processes
2015-09-15 15:15:26 +10:00
amaitland
2e75ae32b1
Add some missing override statements (general cleanup)
2015-08-19 13:05:59 +10:00
amaitland
22fa4c3b10
Register custom schemes in render process
...
Fixes #1014
2015-08-03 12:30:58 +10:00
amaitland
bec6fe4618
Formatting and naming fixups
2015-08-03 12:16:20 +10:00
David Serfozo
c9b7366786
Extensions transmitted in OnRenderThreadCreated and registered after webkit initialization
2015-08-01 20:25:12 +02:00
amaitland
c86d24a177
Change to Object::ReferenceEquals for gcroot nullptr comparison - seemed a little nicer than a static_cast
...
Use direct cast of CefErrorCode
2015-07-07 16:51:45 +10:00
amaitland
819dfd54f9
Move WcfEnabled option into CefSharpSettings class
...
Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
2015-06-29 13:20:47 +10:00
amaitland
3487e21335
Prefer using statements over partly qualified namespace for class reference
2015-06-25 10:44:03 +10:00
David Serfozo
4d62f6ad8e
wcf made switchable
2015-06-20 19:50:48 +02: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
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
amaitland
54221c919e
Cleanup include statements after moving SchemeHandlerFactory method to Cef::Initialize()
...
(For some reason CefDragDataWrapper needed some includes/usings)
2015-04-17 13:07:08 +10:00
amaitland
25ff7c0dab
Move registration of scheme handler factories into Cef::Initialize()
...
Was cofusing before, possibly just the `CompleteSchemeRegistrations` name, when it was actually registering the factories.
2015-04-17 13:07:07 +10:00
amaitland
6480706ced
Rename SchemeHandlerWrapper to ResourceHandlerWrapper
2015-04-17 13:07:03 +10:00
amaitland
a3a0f15517
Add OnContextInitialized delegate (Simple .Net Action that is called after the context has been initialized)
2015-04-07 21:48:24 +10:00
amaitland
415e9ab2c8
Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
...
Added relevant xml comments
2015-02-15 22:31:11 +10:00
amaitland
00b25f5e3f
Split SchemeHandlerFactoryWrapper out into it's own .h/.cpp files
2015-02-14 12:04:59 +10:00
amaitland
6567a81956
Fix copyright symbol
2014-05-30 18:04:07 +10:00
Timo Steigerwald
a942eff078
migrated cefCommandLineArgs to CefSettings
2014-05-25 23:48:47 +02:00
Timo Steigerwald
fa0b1c4ae2
Update CefSharpApp.h
2014-05-23 16:56:30 +02:00
Timo Steigerwald
659f71a63d
added command line arg handling, so command line args could be set from within the app and be processed by cef (used OnBeforeCommandLineProcessing for implementation)
2014-05-23 16:33:18 +02:00
JanEggers
5e018e56b7
Merge remote-tracking branch 'upstream/master' into DisposePatternV2
2014-05-15 19:10:21 +02:00
Per Lundberg
ce1d9fcd0c
...and also refer to just "the CefSharp Authors", since the CefSharp Project is not really a legal entity in its own.
2014-04-15 22:46:47 +03:00
Per Lundberg
5a9790c076
Fixed copyright to indicate that we are now on the 2014 side of things.
2014-04-15 22:46:25 +03:00
JanEggers
a053abbffb
implemented dispose pattern
2014-03-29 23:28:08 +01:00
JanEggers
ae4cee8fad
reverted task related stuff
2014-03-14 23:14:21 +01:00