Alex Maitland
2e2b53f8a1
Core - DownloadUrlAsync add optional UrlReqestFlags param
...
Discussion #4578
2023-08-26 07:47:19 +10:00
Alex Maitland
1def8a7937
Upgrade to .Net 4.6.2 ( #4482 )
...
* Upgrade minimum .Net version to 4.6.2
#4433
* Use TaskCreationOptions.RunContinuationsAsynchronously
- Now that min version is .Net 4.6.2 we can use RunContinuationsAsynchronously
- Remove some unused code
2023-06-10 07:33:20 +10:00
Alex Maitland
a4db645e5b
Core - Xml Doc fixes
2023-03-12 11:09:48 +10:00
Alex Maitland
fa4a37a8b0
Core - Add EvaluateScriptAsync<T>(string script) extension method
...
- Add generic overload that uses the DefaultBinder (with CamelCaseNaming)
to perform type conversion
2023-03-10 18:37:42 +10:00
Alex Maitland
92892c9b85
WPF - Add ChromiumWebBrowser.ToggleAudioMuteCommand
...
- Add new extension method to toggle audio mute
- Add new command to toggle audio mute
- Add new menu item to WPF Example
Resolves #3247
2022-10-25 12:32:01 +10:00
Alex Maitland
571a1db548
Core - Further migration of extensions methods from IWebBrowser to IChromiumWebBrowserBase
...
- EvaluateScriptAsync can now be used from IChromiumWebBrowserBase, if also IWebBrowser then
main frame check will occur as previous.
Related to #3944
2022-01-10 13:44:29 +10:00
Alex Maitland
4a07af26e9
Core - Rename WaitForBrowserInitialLoadAsync to WaitForInitialLoadAsync and simplify
...
- Initial intention was to have a reusable method that could be used CefSharp.Wpf.HwndHost,
upon further deliberation I've decided to build the functionality into the ChromiumWebBrowser.Partial.cs
and will need to duplicate the functionality in CefSharp.Wpf.HwndHost. This guarantees that the
Task will be resolved in all cases. The previous implementation there was a theoretical change we'd
miss subscribing to the relevant events
- Remove CancellationToken as it's not possible to cancel
Issue #3842
2021-10-28 10:31:03 +10:00
Alex Maitland
91b7514a1c
WinForms/WPF/OffScreen - Add WaitForBrowserInitialLoadAsync
...
Second attempt at WaitForBrowserInitialLoadAsync, includes optional
CancellationToken param.
Issue #3842
2021-10-27 13:58:57 +10:00
Alex Maitland
544abc68d1
Revert "WinForms/WPF/OffScreen - Add WaitForBrowserInitialLoadAsync"
...
Tests started failing so will revisit later.
This reverts commit 08e5140060 .
2021-10-11 10:14:31 +10:00
Alex Maitland
08e5140060
WinForms/WPF/OffScreen - Add WaitForBrowserInitialLoadAsync
...
Change all the tests to use WaitForBrowserInitialLoadAsync instead of LoadUrlAsync
as LoadUrlAsync will require a Url as part of #3842
2021-10-10 14:41:04 +10:00
Alex Maitland
bec06b2495
Add Fluent DownloadHandler ( #3576 )
...
* Core - Add Fluent DownloadHandler implementation and IFrame.DownloadUrlAsync
Resolves #3550
2021-06-01 13:34:21 +10:00
Alex Maitland
497e75c267
Test - Add CanLoadRequestWithPostData test
2021-01-15 13:40:37 +10:00