Commit Graph

664 Commits

Author SHA1 Message Date
Alex Maitland f8d2ce32a2 Upgrade to 112.2.7+gef29713+chromium-112.0.5615.49 / Chromium 112.0.5615.49 2023-04-09 11:36:08 +10:00
Alex Maitland 3a3aed61fa Upgrade to 112.2.6+gaad7246+chromium-112.0.5615.29 / Chromium 112.0.5615.29 2023-04-04 12:38:14 +10:00
Alex Maitland 1460dee5a1 Core - ClientAdapter improve HasParent checks (#4443)
* Core - Improve ClientAdapter::GetBrowserWrapper logic

Simplify the logic

- For non popup return immediately (most common scenario)
- Check for IBrowser instance for matching popup
- Check for HasParent and return the browser Instance
- Return nullptr if no matching IBrowser wrapper found

* Core - ClientAdapter::OnFrameCreated called before OnAfterCreated

- The very first call to ClientAdapter::OnFrameCreated happens
  before OnAfterCreated leaving us with a IBrowser instance that's null
  Create an IBrowser instance that's scoped to the method call

* Core - ClientAdapter improve HasParent checks

- HasParent check has now been replaced with IsHostedBrowser
  which has additional check to make sure the internal
  IWebBrowser.Set* methods are only called for a IBrowser
  instance that's directly associated with a ChromiumWebBrowser instance
  This resolves issues with DevTools being opened for a popup hosted
  in a ChromiumWebBrowser instance.

Related discussion https://github.com/cefsharp/CefSharp/discussions/4438
2023-04-01 18:58:27 +10:00
Alex Maitland 6e11059961 Upgrade to 111.2.7+gebf5d6a+chromium-111.0.5563.148 / Chromium 111.0.5563.148 2023-04-01 11:11:09 +10:00
Alex Maitland 35f3a57688 MSBuild - change from using $(SolutionDir) to $MSBuildThisFileDirectory
- Changes to make CefSharp easier to use as a git submodule
- BrowserSubProcess now builds for net6.0-windows for use with WinForms example
2023-03-13 19:02:18 +10:00
Alex Maitland 7cdab11dc3 Upgrade to 111.2.2+g1b83ff6+chromium-111.0.5563.65 / Chromium 111.0.5563.65 2023-03-12 16:53:52 +10:00
Alex Maitland 05fc069837 Upgrade to 111.1.2+g6926287+chromium-111.0.5563.64 / Chromium 111.0.5563.64 2023-03-09 12:35:33 +10:00
Alex Maitland b17cd2a1b2 Core - High-DPI support is now enabled by default in Chromium.
- Chromium now enables DPI awareness programmatically by default
- Remove Cef.EnableHighDPISupport calls and mark as obsolete
- Remove dpiawareness entries from app.manifest

Issues #4417 #4410
2023-03-07 13:03:53 +10:00
Alex Maitland 4f6fdf85c8 Upgrade to 111.0.11+geb023d1+chromium-111.0.5563.50 / Chromium 111.0.5563.50 2023-03-04 10:19:50 +10:00
Alex Maitland f7cc1d4b63 Upgrade to 110.0.28+g16a2153+chromium-110.0.5481.104 / Chromium 110.0.5481.104 2023-02-22 05:53:01 +10:00
Alex Maitland 7edc164206 Upgrade to 110.0.25+g75b1c96+chromium-110.0.5481.78 / Chromium 110.0.5481.78 2023-02-10 06:17:40 +10:00
Alex Maitland 91d9981ff2 Upgrade to 110.0.22+gb3f93d5+chromium-110.0.5481.77 / Chromium 110.0.5481.77 2023-02-06 12:08:02 +10:00
Alex Maitland 2cb65efeed Upgrade to 110.0.21+g6054757+chromium-110.0.5481.52 / Chromium 110.0.5481.52 2023-02-02 11:13:47 +10:00
Alex Maitland 2ee7e9d442 Upgrade to 109.1.11+g6d4fdb2+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-14 07:16:02 +10:00
Alex Maitland ceb347988d Upgrade to 109.1.8+g44ba3e7+chromium-109.0.5414.87 / Chromium 109.0.5414.87 2023-01-13 20:35:52 +10:00
Alex Maitland 4e2612a3be Upgrade to 109.1.7+gb7b1fdc+chromium-109.0.5414.74 / Chromium 109.0.5414.74 2023-01-08 11:53:53 +10:00
Alex Maitland a382725dca WinForms Example - Fix SimpleBrowserForm constructor 2023-01-08 11:53:53 +10:00
Alex Maitland d5813846fc Upgrade to 108.4.13+ga98cd4c+chromium-108.0.5359.125 / Chromium 108.0.5359.125 2022-12-16 11:59:03 +10:00
Alex Maitland f025e9d00d Upgrade to 108.4.12+g2e23ced+chromium-108.0.5359.71 / Chromium 108.0.5359.71 2022-12-03 14:24:05 +10:00
Alex Maitland 7f02409c37 Upgrade to 108.4.10+g8d6f4e3+chromium-108.0.5359.48 / Chromium 108.0.5359.48 2022-11-21 11:50:16 +10:00
Alex Maitland 3866af03ca Upgrade to 107.1.9+g1f0a21a+chromium-107.0.5304.110 / Chromium 107.0.5304.110 2022-11-14 14:16:09 +10:00
Alex Maitland 0243bfa1f4 Upgrade to 107.1.5+g58ed78e+chromium-107.0.5304.88 / Chromium 107.0.5304.88 2022-11-14 14:15:45 +10:00
Alex Maitland 91b79262fa Upgrade to 107.1.4+geb36a79+chromium-107.0.5304.68 / Chromium 107.0.5304.68 2022-10-30 13:07:15 +10:00
Alex Maitland 60df304c93 Upgrade to 106.0.29+gc10d419+chromium-106.0.5249.119 / Chromium 106.0.5249.119 2022-10-16 12:03:40 +10:00
Alex Maitland bda48d4c6e Upgrade to 106.0.26+ge105400+chromium-106.0.5249.91 / Chromium 106.0.5249.91 2022-10-05 11:45:32 +10:00
Alex Maitland 252f2cd99b Upgrade to 106.0.25+gf7fefe5+chromium-106.0.5249.61 / Chromium 106.0.5249.61 2022-10-04 10:54:08 +10:00
Alex Maitland da94de224e Upgrade to 106.0.20+g354064a+chromium-106.0.5249.12 / Chromium 106.0.5249.12 2022-09-21 10:02:14 +10:00
Alex Maitland 0ad6310e87 Upgrade to 105.3.39+g2ec21f9+chromium-105.0.5195.127 / Chromium 105.0.5195.127 2022-09-19 16:35:45 +10:00
Alex Maitland f3676bed4e Upgrade to 105.3.33+gd83f874+chromium-105.0.5195.102 / Chromium 105.0.5195.102 2022-09-08 11:17:33 +10:00
Alex Maitland 416ed308c2 Core - Migrate from CefTime to CefBaseTime (Execution/Binding)
- Convert more of the methods used by JavaScript binding/execution
- Fix naming of FromDateTimeToBaseTime

Issue #4234
2022-09-06 19:39:43 +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