19 Commits

Author SHA1 Message Date
amaitland 088c3d02f4 ISchemeRegistrar - Change AddCustomScheme to use SchemeOptions enum
- Add new SchemeOptions enum
- Change AddCustomScheme to use new enum (replaces all the bool params)
- Simplify command line arg processing, now sends scheme name and int (options)
- Add CefCustomScheme.IsFetchEnabled

Resolves #2690

Breaking Change
2019-07-02 20:50:09 +10:00
amaitland 88b1d8678d CefCustomScheme - Update xml doc 2019-06-25 19:24:57 +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
Chris 30ee538ce0 Added EditorConfig (#2514) 2018-09-17 00:46:21 +02: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
João Neves 274e841f35 Close CefSharp.BrowserSubprocess.exe if parent process exits (#2375)
* Close cefsharp subprocess if main process dies

* Code review

* Await before exiting

* Update Program.cs
2018-06-09 21:39:23 +10:00
Chris 7e2594d2e3 Added CefCustomScheme.IsCspBypassing
Resolves #2038
2017-08-29 18:00:36 +02:00
amaitland 0a2693fa9b IsCorsEnabled should be true in most cases where IsStandard is true (we default IsStandard to true)
Default IsSecure = true - seems like a logical default
2017-03-27 15:46:35 +10:00
amaitland b432d5aa38 Change IBrowserHost.SendMouse* to use the MouseEvent struct (added some extension methods to maintain API compatibility)
Review classes and structs
Added constructor to structs where all fields were required
Made some classes sealed, mostly those that are passed into the framework where subclassing and adding methods/properties wouldn't make sense
2017-03-27 15:46:34 +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 fb5c6f7ecb More xml doc improvements 2016-04-15 15:27:19 +10:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +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
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 415e9ab2c8 Allow setting IsLocal and IsDisplayIsolated for a CustomScheme
Added relevant xml comments
2015-02-15 22:31:11 +10:00
amaitland 68edca8d35 Add license disclaimer to all files in CefSharp project 2014-06-25 16:00:08 +10:00
Per Lundberg 8c40ab43cb Removed a bunch of superfluous usings. I eat superfluous code for breakfast! 2014-03-21 22:38:53 +02:00
JanEggers 0833476676 added new CefSharp Project 2014-03-09 13:57:28 +01:00