summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 15:47:37 +0000
committerhans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 15:47:37 +0000
commit7145320c0b916fdac0dfaa43bb95bb13714f73e1 (patch)
tree374e24cb615c2fe998ece1b09396e31725f1f657 /chrome/common/chrome_switches.cc
parent07b49351b65e228e7bceb7219f2b2a7e9b98f0ac (diff)
downloadchromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.zip
chromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.tar.gz
chromium_src-7145320c0b916fdac0dfaa43bb95bb13714f73e1.tar.bz2
Enable device orientation by default.
Enable device orientation by default. Replace the --enable-device-orientation command-line flag with a --disable-device-orientation flag. BUG=44654 TEST=browser_tests --gtest_filter="DeviceOrientationBrowserTest.*" Review URL: http://codereview.chromium.org/3136038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c1c7a49..03dfadf 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -166,6 +166,9 @@ const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
// Browser flag to disable the web inspector for all renderers.
const char kDisableDevTools[] = "disable-dev-tools";
+// Disables device orientation events.
+const char kDisableDeviceOrientation[] = "disable-device-orientation";
+
// Disable extensions.
const char kDisableExtensions[] = "disable-extensions";
@@ -373,9 +376,6 @@ const char kEnableCookiePrompt[] = "enable-cookie-prompt";
// Enables device motion events.
const char kEnableDeviceMotion[] = "enable-device-motion";
-// Enables device orientation events.
-const char kEnableDeviceOrientation[] = "enable-device-orientation";
-
const char kEnableDNSSECCerts[] = "enable-dnssec-certs";
// Enables extension APIs that are in development.