From ed256aca16b29c6048dd4ee6834d5714e48fa03b Mon Sep 17 00:00:00 2001 From: "luken@chromium.org" Date: Tue, 10 Jun 2014 20:49:02 +0000 Subject: sets/clears highdpi registry settings on switch to/from metro There are some highdpi bugs in Chrome M35 and M36 that make it not particularly usable in desktop context, but on highdpi devices we require that highdpi mode be enabled when in Metro mode. This CL adds code to delegate_execute to force enable highdpi when entering Metro mode, and to disable it when exiting. BUG=362756 Review URL: https://codereview.chromium.org/323643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276133 0039d316-1c4b-4281-b951-d872f2087c98 --- win8/delegate_execute/command_execute_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'win8/delegate_execute/command_execute_impl.h') diff --git a/win8/delegate_execute/command_execute_impl.h b/win8/delegate_execute/command_execute_impl.h index 72e1085..20b5779 100644 --- a/win8/delegate_execute/command_execute_impl.h +++ b/win8/delegate_execute/command_execute_impl.h @@ -88,6 +88,8 @@ class ATL_NO_VTABLE DECLSPEC_UUID("071BB5F2-85A4-424F-BFE7-5F1609BE4C2C") static bool path_provider_initialized_; + void SetHighDPIRegistryKey(bool enable); + bool GetLaunchScheme(base::string16* display_name, INTERNET_SCHEME* scheme); HRESULT LaunchDesktopChrome(); // Returns the launch mode, i.e. desktop launch/metro launch, etc. -- cgit v1.1