summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonross <jonross@chromium.org>2014-12-18 14:18:03 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-18 22:18:48 +0000
commit90cab9cb698467c3a8f0e4bc1020003f7e98d74f (patch)
tree33f23b8f2aad766d1dfed435511154df3d110b91
parentfea87ea96145d070661bbbdf4d7e52ad44b061e7 (diff)
downloadchromium_src-90cab9cb698467c3a8f0e4bc1020003f7e98d74f.zip
chromium_src-90cab9cb698467c3a8f0e4bc1020003f7e98d74f.tar.gz
chromium_src-90cab9cb698467c3a8f0e4bc1020003f7e98d74f.tar.bz2
Enable ScreenOrientation on ChromeOS
Remove the flag blocking ScreenOrientation to enable it by default. TBR=oshima@chromium.org BUG=396760 Review URL: https://codereview.chromium.org/797093005 Cr-Commit-Position: refs/heads/master@{#309086}
-rw-r--r--ash/content/display/screen_orientation_delegate_chromeos.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/ash/content/display/screen_orientation_delegate_chromeos.cc b/ash/content/display/screen_orientation_delegate_chromeos.cc
index 10d2b9b..06a084a 100644
--- a/ash/content/display/screen_orientation_delegate_chromeos.cc
+++ b/ash/content/display/screen_orientation_delegate_chromeos.cc
@@ -119,9 +119,7 @@ void ScreenOrientationDelegate::Lock(
bool ScreenOrientationDelegate::ScreenOrientationProviderSupported() {
return Shell::GetInstance()
->maximize_mode_controller()
- ->IsMaximizeModeWindowManagerEnabled() &&
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kAshEnableTouchViewTesting);
+ ->IsMaximizeModeWindowManagerEnabled();
}
void ScreenOrientationDelegate::Unlock(content::WebContents* web_contents) {