From b17cd2a1b23df786c1051c7c66947f6d52239510 Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 7 Mar 2023 13:03:53 +1000 Subject: [PATCH] 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 --- .../BrowserSubprocessExecutable.h | 4 ---- CefSharp.BrowserSubprocess/Program.cs | 2 -- CefSharp.BrowserSubprocess/app.manifest | 6 ------ CefSharp.Core/BrowserSubprocess/SelfHost.cs | 7 ++----- CefSharp.Core/Cef.cs | 1 + CefSharp.OffScreen.Example/app.manifest | 6 ------ CefSharp.WinForms.Example/Program.cs | 11 ----------- CefSharp.Wpf.Example/app.manifest | 7 ------- 8 files changed, 3 insertions(+), 41 deletions(-) diff --git a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h index 0587553c00..7d624dc590 100644 --- a/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h +++ b/CefSharp.BrowserSubprocess.Core/BrowserSubprocessExecutable.h @@ -34,7 +34,6 @@ namespace CefSharp /// This overload is specifically used for .Net Core. For hosting your own BrowserSubProcess /// it's preferable to use the Main method provided by this class. /// - Obtains the command line args via a call to Environment::GetCommandLineArgs - /// - Calls CefEnableHighDPISupport before any other processing /// /// /// If called for the browser process (identified by no "type" command-line value) it will return immediately @@ -53,7 +52,6 @@ namespace CefSharp /// This overload is specifically used for .Net Core. For hosting your own BrowserSubProcess /// it's preferable to use the Main method provided by this class. /// - Obtains the command line args via a call to Environment::GetCommandLineArgs - /// - Calls CefEnableHighDPISupport before any other processing /// /// /// If called for the browser process (identified by no "type" command-line value) it will return immediately @@ -62,8 +60,6 @@ namespace CefSharp /// - - - true/PM - - -