summaryrefslogtreecommitdiffstats
path: root/ui/base/ui_base_switches.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 16:14:08 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-12 16:14:08 +0000
commit0a2703fd0fbeb24a58f6af1933102660a32fe25b (patch)
tree69ea1110e54c1cb9062ffe22e309d91bc24ebb34 /ui/base/ui_base_switches.cc
parent42c76329a78ac31d8cbc52568c9634a76f3511d7 (diff)
downloadchromium_src-0a2703fd0fbeb24a58f6af1933102660a32fe25b.zip
chromium_src-0a2703fd0fbeb24a58f6af1933102660a32fe25b.tar.gz
chromium_src-0a2703fd0fbeb24a58f6af1933102660a32fe25b.tar.bz2
add flag to disable use of DWM composition for toplevel windows
This can be used to force the "XP" path of no-DWM-mode on Windows 8 which has no OS-level way to turn it off any more. R=ben@chromium.org BUG=224064 Review URL: https://codereview.chromium.org/14157004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/ui_base_switches.cc')
-rw-r--r--ui/base/ui_base_switches.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index ef10e6d..80fcb0a 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -6,6 +6,9 @@
namespace switches {
+// Disables use of DWM composition for top level windows.
+const char kDisableDwmComposition[] = "disable-dwm-composition";
+
// Disables touch adjustment.
const char kDisableTouchAdjustment[] = "disable-touch-adjustment";