summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authorjonross <jonross@chromium.org>2015-02-05 14:13:58 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-05 22:15:39 +0000
commit98fccbf697252ed205523a5ff61de0f402b62b8d (patch)
tree1c6993d78b0ea3b3bde4175f12b7cd7cd8b332ab /ash/ash_switches.cc
parent6508818563a380d211e251ab0b8d55ea75cdb84b (diff)
downloadchromium_src-98fccbf697252ed205523a5ff61de0f402b62b8d.zip
chromium_src-98fccbf697252ed205523a5ff61de0f402b62b8d.tar.gz
chromium_src-98fccbf697252ed205523a5ff61de0f402b62b8d.tar.bz2
Enable ScreenOrientation API by default
Add new flag to disable screen orientation locking. Update ScreenOrientationController to be enabled by default, and to check flag state for disabling. TEST=Set flag to check feature was disabled. BUG=396760 Review URL: https://codereview.chromium.org/901963002 Cr-Commit-Position: refs/heads/master@{#314895}
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index 270a39f..f11743dd 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -33,6 +33,12 @@ const char kAshDebugShortcuts[] = "ash-debug-shortcuts";
// WorkspaceLayoutManager.
const char kAshDisableLockLayoutManager[] = "ash-disable-lock-layout-manager";
+#if defined(OS_CHROMEOS)
+// Disable the support for WebContents to lock the screen orientation.
+const char kAshDisableScreenOrientationLock[] =
+ "ash-disable-screen-orientation-lock";
+#endif
+
// Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be
// turned on automatically when spoken feedback is enabled when this flag is
// set.