Commit Graph

47 Commits

Author SHA1 Message Date
Alex Maitland 08f3a4015d Core - Update CefErrorCode (99.0.4844.27)
https://raw.githubusercontent.com/chromium/chromium/99.0.4844.27/net/base/net_error_list.h

Resolves #4015
2022-02-22 11:51:31 +10:00
Alex Maitland 6bb262e7bb Core - Update ContextMenuMediaState values to match Chromium
- Enum updated
- Other enum values added to related enums

Resolves #4014
2022-02-22 11:45:58 +10:00
campersau 543e9d9d9d Core - Update CefErrorCode (#3965)
Using https://raw.githubusercontent.com/chromium/chromium/97.0.4692.71/net/base/net_error_list.h
2022-01-18 11:03:04 +10:00
Alex Maitland 8160ec1ce4 Remove IRequestContextHandler.OnBeforePluginLoad and IRequestContext.PurgePluginListCache
Resolves #3924
2021-12-07 14:54:11 +10:00
Alex Maitland 52f40e3e84 Core - Update CefErrorCode.DnsNameHttpsOnly
It should be a negative number

https://source.chromium.org/chromium/chromium/src/+/651bd32d5d559010ed5dd44aee0f33c7a0162301:net/base/net_error_list.h;dlc=190de627f4460740328ecffcfadce8bb8d5aec8b
2021-11-01 13:35:03 +10:00
Alex Maitland 90171e113b Core - Update ResourceType enum
Add new values

https://github.com/chromiumembedded/cef/commit/0cbc0a757ea11655f61ba4b8a93a9aa9b172a638
2021-09-24 10:52:24 +10:00
campersau 90bbb57e91 Core - Update CefErrorCode (#3819)
Using https://raw.githubusercontent.com/chromium/chromium/94.0.4606.50/net/base/net_error_list.h
2021-09-21 19:20:54 +10:00
campersau 1cdb21960c Core - Update CefErrorCodes (#3785)
Using https://raw.githubusercontent.com/chromium/chromium/92.0.4515.176/net/base/net_error_list.h
2021-09-03 10:54:41 +10:00
Alex Maitland d350cad52a Update to M93 (#3781)
* Upgrade to CEF 93.1.7+g9117d6a+chromium-93.0.4577.42 / Chromium 93.0.4577.42

- Core - Add basic ref counting implementation

IMPLEMENT_REFCOUNTING implementation uses atomic which
forces the VC++ compiler to compile as native which doesn't work for our managed ref classes.

    - Use InterlockedCompareExchange for custom ref count reads
    - Use InterlockedIncrement/InterlockedDecrement directly
    - There's no memory barrier for HasOneRef/HasAtLeastOneRef as the read of a LONG should happen in one operation
on 32/64 bit architectures (at least that's my understanding at this point in time).

    References:
    https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_x86_msvc.h#L125
    https://github.com/chromiumembedded/cef/blob/4472/include/base/internal/cef_atomicops_arm64_msvc.h#L107
    https://github.com/chromiumembedded/cef/blob/4472/include/base/cef_atomic_ref_count.h#L114
    https://github.com/chromiumembedded/cef/blob/4472/include/cef_base.h#L91

-  Remove Microsoft.Net.Compilers package from projects
Now that we require a min of VS2019 to build there's no need for a custom compiler package
- Start removing VS2015/VC++2015 references
- Remove RegisterWidevineCdm
This is a breaking change. CEF will now automatically download the Widevine CDM component
Resolves #3767

- RequestContext.LoadExtension now uses managed to code spawn on CEF UI Thread
Avoid having to use cef_callback.h which was causing problems for x86 builds
2021-09-03 10:51:18 +10:00
Alex Maitland e1ac768a42 Core - Update CefThreadIds enum
This is a breaking change

Resolves #3597
2021-06-04 15:29:48 +10:00
campersau b8dd8c0ac4 Core - Add TransitionType.DirectLoad enum value (#3551)
which was added in https://github.com/chromiumembedded/cef/commit/a141082b91c06979bbed2a6aba60708328400b33
2021-05-13 11:49:31 +10:00
Alex Maitland 6e881eeafc Xml Doc - Fix some mistakes 2021-01-08 14:26:21 +10:00
GitHubPang 728420ca7f Fix typos (#3305) 2020-12-06 11:24:14 +10:00
Alex Maitland 5bd9b49b30 WPF - Fix Custom Cursor Not displaying
- Update CursorType enum
  CEF has added some additional values
  As entries were added before Custom the WPF custom cursor handling wasn't working
  https://github.com/chromiumembedded/cef/commit/047e8f9349ecd635b1146e4a44de46a38b8a64f8#diff-447d40892c51b4ffc870cf1a28bab2ae2d411752216be4750a17193e6675b26b
2020-11-07 18:17:28 +10:00
amaitland 10f6a4bd20 Core - Add Cookie.SameSite and Cookie.Priority
Resolves #3254
2020-10-14 14:56:35 +10:00
amaitland 02d51747f5 Core - Update CefErrorCode xml doc
Update BlockedByAdministrator xml doc

https://source.chromium.org/chromium/chromium/src/+/refs/tags/85.0.4183.102:net/base/net_error_list.h;l=93

Replaces #3245
2020-10-02 10:25:25 +10:00
amaitland 89e95ef3be Core - Add CompositionUnderline.Style (IME)
https://source.chromium.org/chromium/chromium/src/+/master:ui/base/ime/win/imm32_manager.cc;l=82;drc=c70af83bc44f6829277cdc3621e7015d6e0d7530;bpv=1;bpt=1?q=GCS_COMPCLAUSE&ss=chromium%2Fchromium%2Fsrc

Resolves #3107
2020-08-26 14:55:51 +10:00
Alex Maitland 8d25b71490 Core - Re-Add IAudioHandler (#3153)
Resolves #3152
2020-07-08 08:06:16 +10:00
amaitland 6c29d3b4e6 Core - Update CefErrorCode
Resolves #3106
2020-05-08 10:22:56 +10:00
amaitland 296e75a775 Core - CefEventFlags fix capitalisation of AltGrDown
Was previously AltgrDown

Issue #3098
2020-04-18 20:31:04 +10:00
amaitland aef48bdd17 Core - CefEventFlags.AltGrDown Typo
Issue #3098
2020-04-18 14:52:41 +10:00
amaitland f46a8a7175 Core - Add CefEventFlags.AltGrDown
Resolves #3098
2020-04-18 10:55:27 +10:00
amaitland 1b1cf522de Core - Update ReferrerPolicy enum values
**Breaking Change**

Resolves #3026
2020-01-29 05:36:55 +10:00
amaitland 39a305cac1 Xml Doc - Improvements and fixes
- Some classes are now excluded
- Many minor fixes should hopefully reduce the number of errors reported by Sandcastle
- Some of the xml doc is generated by Atomineer, usually in cases where CEF lacks documentation
2020-01-29 05:36:54 +10:00
amaitland 802bb7f43c Remove IAudioHandler
The Chromium implementation has changed so dramatically that CEF has removed support see https://bitbucket.org/chromiumembedded/cef/commits/1f893c76a97eaa88e3ff782b8e2e47dd0f5d27b2

Track https://bitbucket.org/chromiumembedded/cef/issues/2755/reimplement-audio-mirroring-for for details on when it will be reimplemented

Original Issue #2727
2019-10-01 20:06:37 +10:00
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 62ee664c81 SslVersion - Add TLS 1.3 2019-06-25 19:24:57 +10:00
amaitland 049f576de3 UrlRequestFlags.AllowCachedCredentials rename to AllowStoredCredentials
Resolves #2755

This is a breaking change
2019-05-04 06:43:56 +10:00
amaitland e19357c386 UrlRequestFlags - Update with new values
https://bitbucket.org/chromiumembedded/cef/commits/cd5995a440302e0ef5a97a000faa922149ffb177?at=3683#Linclude/internal/cef_types.hT1281
2019-05-03 21:34:51 +10:00
Alex Maitland 76e5a8d5c0 Add IAudioHandler (#2727)
* Feature Request - Add IAudioHandler

- For performance reasons we return NULL if no audiohandler is assigned
- No example is provided currently

Initial implementation for #2714
2019-05-03 12:54:40 +10:00
amaitland 8ced344ccd IBrowserHost - Add SendTouchEvent
- Includes Pen support

https://bitbucket.org/chromiumembedded/cef/commits/52d535a6dc4b8ec55c3aa7d6b6820e24f12516e8
https://bitbucket.org/chromiumembedded/cef/commits/7b5d30e9a92bacdcb81c60de19f1712aaf53ff74

Resolves #2663
2019-04-05 11:52:41 +10:00
amaitland 4c069dc566 KeyType - Update xml doc
Ref https://magpcss.org/ceforum/apidocs3/projects/(default)/cef_key_event_type_t.html
2019-04-04 12:28:32 +10:00
amaitland 45a79dc520 WPF/OffScreen - Add OnVirtualKeyboardRequested method
- Added to IRenderHandler in OffScreen
- Added to ChromiumWebBrowser in WPF (protected virtual, so inherit and override to implement)

Resolves #2689
2019-03-27 20:29:27 +10:00
amaitland fbe9c556e2 Core - Add LogSeverity.Fatal
Resolves #2639
2019-03-21 13:33:50 +10:00
amaitland 05b640532f Xml doc improvements/fixes 2019-01-09 20:27:06 +10:00
amaitland 436bd9c72d CefTerminationStatus - Add OutOfMemory value
https://bitbucket.org/chromiumembedded/cef/commits/391685c2795d0e9698df4d7bd05fa4692acf5ba9?at=3538

Resolves #2551
2018-10-28 10:58:30 +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
Igor 0ede12e7ba Add OSR AccessiblityHandler. (#2480)
* Add AccessibilityHander.

Implement CefAccessibilityHandler. Add IAccessibilityHandler interface. Add AccessibilityHandler field to IWebBrowser.

* Pull request fixes.

Replaces tabs with spaces; move CefAccessibilityHandler implementation to RenderClientAdapter; add missing comments.

* Add CefValueWrapper.

Add ICefValue interface; pass ICefValue to IAccessibilityHandler.

* Pull request fixes.

Rename CefValue to Value and CefValueType to ValueType; add CefValueWrapper::GetObject() method; remove stub code in AccessibilityHandler; fix comment on IAccessibilityHandler.

* Pull request fixes.

Fix comments for IValue; remove redundant global namespace reference for CefValueType.
2018-08-16 19:33:02 +10:00
amaitland 8301090afe Merge branch 'split_ceffiledialogmode_enum' of https://github.com/fuzzykiller/CefSharp 2018-07-02 18:24:44 +10:00
amaitland b492905cea Code cleanup - Move some structs and enums into separate namespace
- Move the less likely to be used structs/enums into the relevant namespaces, would ideally like to move them all, would likely cause a few issues
for some when upgrading though, so deferring for now.
- Remove Geoposition as it's no longer used (Geolocation API was removed in CEF)
2018-04-20 12:56:32 +10:00
amaitland 82630ec396 CefDrawData - Add Image
Add IImage interface and supporting structs/enums
2018-04-16 17:26:21 +10:00
Daniel B 613ddced0a Split CefFileDialogMode into CefFileDialogMode and CefFileDialogFlags 2018-02-18 22:34:51 +01:00
amaitland 9fc2f33ea8 Xml Doc improvements
Fix some invalid markup
Move some unmanaged constructors and implicit conversion to internal
2018-02-09 13:41:55 +10:00
AgapovAlexsey ff749d0f13 Add copyright 2017-11-30 10:12:11 +11:00
AgapovAlexsey 7876b42288 Add support UrlRequestFlags 2017-11-30 10:12:11 +11:00
amaitland 6691d0080a Refactor ResourceHandler, split FileResourceHandler out into it's own class, rather than relaying on ResourceHandlerType - this allows us to add more underlying CEF type wrappers without a huge amount of effort now.
Add new ByteArrayResourceHandler - uses CefStreamReader::CreateForData to load the byte array, for use with CefStreamResourceHandler
Add ResourceHandler.FromByteArray method for ease of use
Change ResourceHandler.FromString to use the new ByteArrayResourceHandler class
2017-05-05 12:55:44 +10:00
amaitland 3bc9ca1898 Move Enums into their own folder (again not changing the namespace as to avoid breaking the public API, at least for now)
Add copyright disclaimer to JavascriptResponse
Remove Kernel32.OutputDebugString calls and replace with Debug.WriteLine
Removed ScriptException and ResponseAction - unused classes
Rename CefCursorType to CursorType - wasn't exposed as part of the public API so can rename
2017-03-21 10:05:38 +10:00