Commit Graph

635 Commits

Author SHA1 Message Date
Alex Maitland b0873c5f7c Upgrade to 105.3.33+gd83f874+chromium-105.0.5195.102 / Chromium 105.0.5195.102 2022-09-07 11:04:26 +10:00
Alex Maitland 6be92988d2 Upgrade to 105.3.25+g0ca6a9e+chromium-105.0.5195.54 / Chromium 105.0.5195.54 2022-09-04 10:40:53 +10:00
Alex Maitland 01310244ee Upgrade to 104.4.24+gdf482f6+chromium-104.0.5112.102 / Chromium 104.0.5112.102 2022-08-21 13:31:04 +10:00
Alex Maitland a5c9a66832 Example - Rename PermissionHandlerExample to ExamplePermissionHandler
- Matches other examples
- Minor changes
2022-08-08 15:41:45 +10:00
Alex Maitland 5cab3c23ea WinForms Example - Make DPI Aware
- WinForms Example is now DPI aware using https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8
  There's a mistake in the MS Docs which was already reported at https://github.com/dotnet/docs-desktop/issues/1485
- Toolstrip layout updated slightly, could use some more minor tweaks to better calculate size

Resolves #1543
2022-08-08 13:37:17 +10:00
Alex Maitland d413f481dd Upgrade to 104.4.18+g2587cf2+chromium-104.0.5112.81 / Chromium 104.0.5112.81 2022-08-08 11:18:43 +10:00
Alex Maitland 6467ece9b6 Upgrade to 104.4.15+g12fbff8+chromium-104.0.5112.65 / Chromium 104.0.5112.65 2022-08-02 13:14:32 +10:00
Alex Maitland 81d2168262 Upgrade to CEF 103.0.8+g444ebe7+chromium-103.0.5060.66 / Chromium 103.0.5060.66 2022-07-01 09:34:44 +10:00
Alex Maitland 2788ec0704 Upgrade to CEF 103.0.6+ge38efd5+chromium-103.0.5060.53 / Chromium 103.0.5060.53 2022-06-21 11:47:09 +10:00
Alex Maitland 923e687fda Upgrade to CEF 102.0.9+g1c5e658+chromium-102.0.5005.63 / Chromium 102.0.5005.63 2022-05-30 13:37:46 +10:00
Alex Maitland 0c6289322f Upgrade to CEF 102.0.6+g4209780+chromium-102.0.5005.61 / Chromium 102.0.5005.61 2022-05-24 14:54:48 +10:00
Alex Maitland 6c18e0e863 Update IDialogHandler.OnFileDialog method declaration
CEF is now using Chrome file dialogs on all platforms and runtimes, this brings a number of fixes and also some API changes.

- The selectedAcceptFilter filter arg has now been removed
- The CefFileDialogFlags enum has been removed as CEF no longer supports these options

This is a breaking change.

Issue #4110
2022-05-17 19:51:08 +10:00
Alex Maitland c5f861594d Upgrade to CEF 102.0.5+gf11ca74+chromium-102.0.5005.49 / Chromium 102.0.5005.49 2022-05-17 19:33:34 +10:00
Alex Maitland b4c4913b35 Core - Add IDownloadHandler.CanDownload
- Add IDownloadHandler.CanDownload
- Add to Fluent implementation
- Update examples

https://bitbucket.org/chromiumembedded/cef/commits/6d7a6801871cd4fcceb174dfa99a5b46da6253c1

Resolves #4090
2022-05-05 12:40:33 +10:00
Alex Maitland 40b285fbc3 Upgrade to CEF 101.0.15+gca159c5+chromium-101.0.4951.54 / Chromium 101.0.4951.54 2022-05-04 10:46:36 +10:00
Alex Maitland ed217aba59 DevTools Client - Viewport default Scale to 1.0 2022-05-03 11:48:52 +10:00
Alex Maitland f201c694c6 WinForms - Add CaptureScreenshotAsync
- Simplification of calling the DevTools method
- Moved GetContentSizeAsync from OffScreen into partial class (now accessible from WinForms/WPF/OffScreen).
- Added menu option

Resolves #4081
2022-05-03 11:29:11 +10:00
Alex Maitland 684e76c836 Upgrade to CEF 101.0.11+g0692cb0+chromium-101.0.4951.34 / Chromium 101.0.4951.34 2022-04-21 09:04:37 +10:00
Alex Maitland 640672dcf9 Core - Add IChromiumWebBrowserBase.GetRequestContext extension method
Simplifies getting the RequestContext for a ChromiumWebBrowser instance
2022-04-12 14:03:51 +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 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 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 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 597e54fc11 IBrowserHost.Find remove identifier param
Resolves #4013
2022-02-22 11:17:56 +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 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 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 01b7a4330e WinForms - Add LifeSpanHandler.OnBeforePopupCreated
- Allow for cancelling of popup creation

browser.LifeSpanHandler = CefSharp.WinForms.Handler.LifeSpanHandler
	.Create()
	.OnBeforePopupCreated((chromiumWebBrowser, b, frame, targetUrl, targetFrameName, targetDisposition, userGesture, browserSettings) =>
	{
		//Can cancel opening popup based on Url if required.
		if(targetUrl?.StartsWith(CefExample.BaseUrl + "/cancelme.html") == true)
		{
			return PopupCreation.Cancel;
		}

		return PopupCreation.Continue;
	})
2022-01-10 13:44:30 +10:00
Alex Maitland 82d7ae7ab2 Upgrade to CEF 97.1.1+g50067f2+chromium-97.0.4692.71 / Chromium 97.0.4692.71 2022-01-10 13:44:29 +10:00
Alex Maitland d45aaff7ca Upgrade to CEF 97.0.11+g695453b+chromium-97.0.4692.71 / Chromium 97.0.4692.71 2022-01-05 10:54:41 +10:00
Alex Maitland 6f0f20f3b2 DevTools - Add SetMainFrameDocumentContentAsync extension method
- Updated example error handlers to use SetMainFrameDocumentContentAsync for displaying error messages
  so back/forward navigation works correctly.
- DevToolsExtensions updated to use IChromiumWebBrowserBase instead of IWebBrowser so they're usable
  for WinForms hosted popups

Issue #2985
2022-01-05 10:09:56 +10:00
Alex Maitland f07be8c5e5 build.ps1 - Add new update-build-version target
Updated Version/AssemblyVersion

Performs some unnecessary tasks, so could be improved
2021-12-16 13:02:24 +10:00
Alex Maitland f619a1a194 Upgrade to CEF 97.0.8+g4eb2da6+chromium-97.0.4692.36 / Chromium 97.0.4692.36 2021-12-07 14:46:51 +10:00
Alex Maitland b72d41353e WinForms - Improve hosting of popups using ChromiumHostControl
- Add IChromiumWebBrowserBase which is can be used for ChromiumWebBrowser instances and ChromiumHostControl
- Reduce code duplication for extensions methods
- Update WinForms Example
2021-11-30 13:47:42 +10:00
Alex Maitland 165a05071d WinForms - ChromiumHostControl now has basic events
- Create ChromiumHostControlBase as common base class for ChromiumHostControl and ChromiumWebBrowser
- ChromiumHostControl is now the specific implementation for hosting popups
  Has AddressChanged, LoadingStateChanged, etc events
2021-11-30 13:47:41 +10:00
Alex Maitland 4d7c354f63 Update build number to 96.0.140 2021-11-25 11:01:57 +10:00
Alex Maitland 6e9e4a90a2 WinForms - ChromiumHostControl add BrowserCore and IsBrowserInitialized event
- Can now access the IBrowser property via ChromiumHostControl.BrowserCore
- The ChromiumHostControl.IsBrowserInitialized event will be raised when
the underlying CEF browser has been created.
2021-11-25 10:55:31 +10:00
Alex Maitland 129879cd20 WinForms - Add LifeSpanHandler.OnPopupBrowserCreated
- Add new fluent method to the WinForms specific LifeSpanHandler
- Allows simply access to the IBrowser
2021-11-25 10:00:37 +10:00
Alex Maitland 3130caf737 Upgrade to CEF 96.0.14+g28ba5c8+chromium-96.0.4664.55 / Chromium 96.0.4664.55 2021-11-24 13:33:07 +10:00
Alex Maitland 9b63b0caab Upgrade to CEF 96.0.13+g622afbd+chromium-96.0.4664.45 / Chromium 96.0.4664.45 2021-11-18 10:01:19 +10:00
Alex Maitland c54205efae Upgrade to CEF 96.0.12+g147b5f5+chromium-96.0.4664.35 / Chromium 96.0.4664.35 2021-11-11 09:47:59 +10:00
Alex Maitland cbd5f3f00b Upgrade to CEF 96.0.11+g4bd7c35+chromium-96.0.4664.35 / Chromium 96.0.4664.35 2021-11-10 10:59:43 +10:00
Alex Maitland 7e0a32af53 Upgrade to CEF 95.7.14+g9f72f35+chromium-95.0.4638.69 / Chromium 95.0.4638.69 2021-11-01 13:19:55 +10:00
Alex Maitland 0e242a8706 Upgrade to CEF 95.7.10+g00d4ad5+chromium-95.0.4638.54 / Chromium 95.0.4638.54
Remove CefBrowserSettings.universal_access_from_file_urls and CefBrowserSettings.file_access_from_file_urls.
https://bitbucket.org/chromiumembedded/cef/commits/ff33d7f72144

Remove CefBrowserSettings.application_cache
https://bitbucket.org/chromiumembedded/cef/commits/370a7749e950ef6784c29a666d07a0b67148dd5f

Remove ignore_certificate_errors setting
https://bitbucket.org/chromiumembedded/cef/commits/aabe4ce466766f8bd9907e7fa30546a3afada214

RequestContextSettings.IgnoreCertificateErrors was removed, the CefSettings.IgnoreCertificateErrors property
now set the command line arg

Use CefRect for CefWindowInfo bounds
https://bitbucket.org/chromiumembedded/cef/commits/8587cc4e4bbc187aa989152e521318818b3f41d3

Additional overload has been added to pass in a Rect directly to SetAsChild

Rename SendFocusEvent to SetFocus
https://bitbucket.org/chromiumembedded/cef/commits/49a4611e28d7bbc221cff816d7c4a96c55ba2721

SendFocusEvent will now call SetFocus internally, the project internally has been updated to use SetFocus for WPF

Replace CefRequestCallback with CefCallback
https://bitbucket.org/chromiumembedded/cef/commits/3e7f1bb529442a6c7674262d9219df57964e9524

No changes to the API for this, I've kept the same interface and just mapped internally

Resolves #3857, #3667, #3668
2021-10-22 14:45:12 +10:00
Alex Maitland 4f51b8a4b2 Upgrade to CEF 94.4.11+gc4d96f0+chromium-94.0.4606.81 / Chromium 94.0.4606.81 2021-10-21 10:25:42 +10:00
Alex Maitland aedd60e3ff Upgrade to 94.4.9+g09ee681+chromium-94.0.4606.71 / Chromium 94.0.4606.71 2021-10-16 13:40:20 +10:00
Alex Maitland 67a08c47ee BrowserSubProcess/Examples/Tests - Migrate to newer SDK Style projects
- Migrate to new SDK style projects
- Migrate to chromiumembeddedframework.runtime packages
- Remove old packages.config files
- Update post build event for BrowserSubprocess to set TSAware/LargeAddressAware
- Change project build order

Issue #3706
2021-10-12 19:48:11 +10:00