Alex Maitland
bb7273cb9c
WPF - Workaround for Cursors not loading correctly
...
- For cursors that are embedded in libcef.dll the OnCursorChange method is passing
in IntPtr.Zero so we're unable to load the cursor.
This commit adds a manual mapping of CursorType to resource Id and loads the cursors manually
- Adds a basic test to assert the cursors load, should validate if the resource ids change
This needs to be fixed upstream https://bitbucket.org/chromiumembedded/cef/issues/3270/osr-pan-icon-missing-when-pressing-the
Test url https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values
Issue #4021
2022-04-04 14:36:22 +10:00
Alex Maitland
58e61bb766
Preparation for M100 -pre release
2022-04-04 10:40:07 +10:00
Alex Maitland
77b20c71ae
Examples - Add .Net 5.0 and conditionally .Net 6.0 as target frameworks
...
- .Net 6.0 requires VS2022
This may need to be changed if Appveyor doesn't like building the .Net 5.0 targets
2022-04-01 17:44:45 +10:00
Alex Maitland
b160c1dd4d
Upgrade to CEF 100.0.12+g734f820+chromium-100.0.4896.60 / Chromium 100.0.4896.60
2022-04-01 17:30:31 +10:00
Alex Maitland
1a162573fc
Core - Remove remaining Plugin API (followup)
...
- Remove CefWebPluginInfoVisitorAdapter. from Net Core vcxproj
- Update BrowserProcessHandler example to set a different preference (the plugin ones will eventually be removed from Chromium)
Follow up to https://github.com/cefsharp/CefSharp/commit/0ac43cf69f11d2e6351eca51c81914d70b259be9
Issue #4045
2022-03-25 11:16:31 +10:00
Alex Maitland
d26789bfc2
Test - Add DevToolsClientFacts MediaQuery test
2022-03-22 16:46:04 +10:00
Alex Maitland
0ac43cf69f
Core - Remove Remaining Plugin APIs
...
- Remove plugin references
- Update xml doc comments
- Update ref assembly (netcore)
- Update examples
Issue #4045
2022-03-21 10:01:26 +10:00
Alex Maitland
e6d9aba3f6
Upgrade to CEF 100.0.11+g45b9728+chromium-100.0.4896.46 / Chromium 100.0.4896.46
2022-03-21 09:10:44 +10:00
Alex Maitland
81fc828c1b
README.md - Update as 99.2.120 has been released
2022-03-19 13:33:55 +10:00
Alex Maitland
181271630c
Upgrade to CEF 99.2.12+g2977b3a+chromium-99.0.4844.74 / Chromium 99.0.4844.74
2022-03-18 09:29:12 +10:00
Alex Maitland
b9447740c8
WinForms - Hide ChromiumHostControlBase.BrowserHwnd property from designer
2022-03-18 09:28:24 +10:00
Alex Maitland
71d07dfd41
WinForms - Remove obsolete from Paramater less constructor
...
- Causes a warning in the build log when used via the designer
- Instead update the comment and set EditorBrowsableState.Never
2022-03-18 09:28:24 +10:00
Alex Maitland
f52740b796
DevTools Client - Upgrade to 99.0.4844.51
2022-03-07 13:19:36 +10:00
Alex Maitland
4060917f36
WinForms Example - Add Hide Scrollbars menu item
...
- Use DevTools to hide scrollbars
2022-03-07 13:18:42 +10:00
Alex Maitland
87f161dd0f
Upgrade to CEF 99.2.9+gf426765+chromium-99.0.4844.51 / Chromium 99.0.4844.51
2022-03-06 09:21:16 +10:00
Alex Maitland
f6aff4f075
Upgrade to CEF 99.2.7+g674fc01+chromium-99.0.4844.51 / Chromium 99.0.4844.51
2022-03-04 20:46:59 +10:00
Alex Maitland
0d15db9e90
BrowserSubProcess - Increase x64/arm64 stack size
...
- For Net 4.5.2 it appears we need to resign the exe
- For .Net Core as the exes are native it doesn't look
like we need to sign them (the CefSharp.BrowserSubprocess.dll is actually
the one that's signed).
- Remove unused CefSharpBrowserSubprocessPostBuildEvent
Issue #3986
2022-03-01 15:29:57 +10:00
Alex Maitland
8b9a5e21c1
WinForms - Designer avoid calling Cef.Shutdown on Application.Exit
2022-02-23 11:06:00 +10:00
Alex Maitland
8927a33503
Example - Remove some old Pepper Flash references
2022-02-22 11:56:24 +10:00
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
Alex Maitland
009687f7dd
Core - SetCrashKeyValue fix key not being passed to CEF
2022-02-22 11:33:47 +10:00
Alex Maitland
3d39238a93
Core - Code cleanup
...
- Make more classes sealed
- Add xml doc
- Add serializable constructor
2022-02-22 11:33:18 +10:00
Alex Maitland
597e54fc11
IBrowserHost.Find remove identifier param
...
Resolves #4013
2022-02-22 11:17:56 +10:00
Alex Maitland
54bd29a551
Core - Fix typo
2022-02-22 11:17:40 +10:00
Alex Maitland
0d5e830c27
Upgrade to CEF CEF 99.2.3+g962d9c9+chromium-99.0.4844.27 / Chromium 99.0.4844.27
2022-02-22 10:41:32 +10:00
Alex Maitland
b50f7b40a8
README.md/CONTRIBUTING.md - Update as M98 has been released
2022-02-17 12:45:53 +10:00
Alex Maitland
e4e6cb8f7a
IResourceRequestHandlerFactory - Clarify HasHandlers documentation
...
Follow up to #3998
2022-02-14 13:59:02 +10:00
Alex Maitland
ad41e1d6aa
Nuget - Add CefSharpTransformXmlDllPathOverride
...
Allow for setting a custom location for CefSharpTransformXmlDllPath
2022-02-14 13:59:02 +10:00
Santosh M Ghanti
9e0236876c
Sync Javascript Binding - Add support for property interception ( #3935 )
...
* Core - added support for property interceptor
* Incorporated the review comments
* Incorporated the review comments 2
* Review comments exclude trygetproperty and trysetproperty for .netcore app
* Added the unit test cases for trygetproperty and trysetproperty
* Fixed .net core app build failure
* Added the separate test case for property interceptor
Co-authored-by: sghanti <santosh_ghanti@intuit.com >
2022-02-14 13:58:35 +10:00
Craig Fowler
535671658c
Update docs for IResourceRequestHandlerFactory ( #3998 )
...
I have just discovered that when HasHandlers returns false, the GetResourceRequestHandler method is never executed. Presumably this is an optimisation which happens inside of Chromium, as I can see that the HasHandlers property value goes all way back to the C++ native project.
I was about to suggest removing this optimisation because it'd be trivial to optimise and return early inside the default factory impl in C# world. If it goes all the way down to Chromium then that's less easy and so the next best thing would be to document it.
2022-02-14 13:50:00 +10:00
Alex Maitland
3b1c46aab9
Code Cleanup - Minor code cleanup
...
- Add Microsoft.CodeAnalysis.NetAnalyzers package
- Make some classes sealed
- Fix/Add xml doc
2022-02-01 14:07:01 +10:00
Alex Maitland
12d28b6c02
WinForms - Add new IWinFormsChromiumWebBrowser interface
...
- Common interface of ChromiumHostControl and ChromiumWebBrowser
- WinForms Example Fix removing of Tab
2022-01-31 12:54:18 +10:00
Alex Maitland
746925b1f7
WinForms - Make ChromiumHostControlBase.FromBrowser public
...
- Can be used to get the ChromiumHostControlBase instances from the IBrowser instance
2022-01-31 11:35:46 +10:00
Alex Maitland
21efaf3c46
Upgrade to CEF 98.1.12+gd87e3f4+chromium-98.0.4758.55 / Chromium 98.0.4758.55
2022-01-31 11:30:22 +10:00
Alex Maitland
5704dba5aa
Net Core - Fix failing test
...
- WaitForQUnitTestExeuctionToComplete was renamed to CreateBrowserAndWaitForQUnitTestExeuctionToComplete
2022-01-30 09:01:53 +10:00
Alex Maitland
cd225bc169
Async JavascriptBinding - Return null instead of empty object for async Task methods
...
Resolves #3980
2022-01-27 17:37:49 +10:00
Alex Maitland
c0aae6842f
Test - Add IntegrationTestFacts.LoadJavaScriptBindingAsyncTaskQunitTestsSuccessfulCompletion
...
- Runs the AsyncTask binding tests
2022-01-27 16:06:13 +10:00
Alex Maitland
8b247a6a37
Javascript Binding - IJavascriptCallbackProxy.ExecuteAsync correctly creates pending task using callback Id
...
- Previously a new PendingTask(TaskCompletionSource) was created using a new Id which worked when the Ids matched
between the browser and render process. If you skipped executing a callback then the Ids would get out of sync.
Issue #3979
2022-01-27 16:03:22 +10:00
Alex Maitland
f043040276
Contributing/BugReport - Update as 97.1.60 released
2022-01-27 16:02:32 +10:00
Alex Maitland
1c1aa6384e
Update CONTRIBUTING.md
...
Update cefclient command line args.
2022-01-27 05:42:13 +10:00
chylex
48280b7d32
Fix not disposing callback in ResourceHandler.Skip ( #3978 )
2022-01-21 15:09:35 +10:00
Alex Maitland
dc9d0a2cca
README.md - Version 97 release
2022-01-18 12:59:59 +10:00
Alex Maitland
a4a6fb20c7
Core - CefResourceRequestHandlerAdapter.GetCookieAccessFilter object reference not set to an instance of an object.
...
For resource requests that are handled by CefRequestContextHandlerAdapter::GetResourceRequestHandler
then _browserControl field will be null, added additional checks before calling TryGetBrowserCoreById
Follow up to https://github.com/cefsharp/CefSharp/commit/4ade0b8284d4f95f763c471a867139bff2bac2a9
Issue #3967
2022-01-18 11:04:12 +10:00
campersau
5e16914d9a
OffScreen - Fix ResizeAsync with deviceScalingFactor ( #3964 )
...
* OffScreen - Fix ResizeAsync with deviceScalingFactor
* OffScreen - Fix CaptureScreenshotAsync Width / Height calculation to include X and Y
Always apply Scale changes
2022-01-18 11:03:44 +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
campersau
0401cf8abe
Test - Fix CanEvaluateDoubleValues by not relying on the current culture ( #3966 )
2022-01-16 07:37:56 +10:00
Alex Maitland
137a4bbe6f
WPF - Update CleanupElement when PresentationSource changes
...
- If the CleanupElement is a Window then move it to the new Window
2022-01-15 11:20:07 +10:00
Alex Maitland
4dba51955b
OffScreen - CaptureScreenshotAsync only resize if larger and support clip
2022-01-15 11:20:06 +10:00
Alex Maitland
d179fe55c6
DevTools Client - Upgrade to 97.0.4692.71
2022-01-11 10:04:33 +10:00