Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1375)

Unified Diff: content/public/common/content_switches.cc

Issue 1037693003: Disable Screen Orientation API locking ability for WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing file Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 69d0941ea98aa3d3b59d69990e50d468da97f344..18b8884dc44c0f37e247f7c4c528d23b40fb5565 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -916,6 +916,9 @@ const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
// Disable the pull-to-refresh effect when vertically overscrolling content.
const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
+// Disable the locking feature of the screen orientation API.
+const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock";
+
// WebRTC is enabled by default on Android.
const char kDisableWebRTC[] = "disable-webrtc";
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/test/data/screen_orientation/screen_orientation_lock_disabled.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698