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

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

Issue 24220002: Enable Device Motion API on all platforms by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 8f0d2a211087ed8f4846c2d6bd69b9058ef4d47b..f53b39e30a6ce159d807b2b70b6ab57ef515db82 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -140,7 +140,10 @@ const char kDisableDelegatedRenderer[] = "disable-delegated-renderer";
// Disables desktop notifications (default enabled on windows).
const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
-// Disables device orientation events.
+// Disable device motion events.
+const char kDisableDeviceMotion[] = "disable-device-motion";
+
+// Disable device orientation events.
const char kDisableDeviceOrientation[] = "disable-device-orientation";
// Disable experimental WebGL support.
@@ -904,9 +907,6 @@ const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
#endif
#if defined(OS_ANDROID)
-// Disables device motion events.
-const char kDisableDeviceMotion[] = "disable-device-motion";
-
// Disable user gesture requirement for the media element to enter fullscreen.
const char kDisableGestureRequirementForMediaFullscreen[] =
"disable-gesture-requirement-for-media-fullscreen";

Powered by Google App Engine
This is Rietveld 408576698