summaryrefslogtreecommitdiffstats
path: root/win8/delegate_execute/command_execute_impl.h
diff options
context:
space:
mode:
authorluken@chromium.org <luken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 20:49:02 +0000
committerluken@chromium.org <luken@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 20:49:02 +0000
commited256aca16b29c6048dd4ee6834d5714e48fa03b (patch)
tree0100a2491480d58fcb1df95a6e92e49957ba98d0 /win8/delegate_execute/command_execute_impl.h
parent325f8aad2fd0dfcd637bfa76adbce3bd61702cc2 (diff)
downloadchromium_src-ed256aca16b29c6048dd4ee6834d5714e48fa03b.zip
chromium_src-ed256aca16b29c6048dd4ee6834d5714e48fa03b.tar.gz
chromium_src-ed256aca16b29c6048dd4ee6834d5714e48fa03b.tar.bz2
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
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.h')
-rw-r--r--win8/delegate_execute/command_execute_impl.h2
1 files changed, 2 insertions, 0 deletions
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.