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

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: remove enable-device-motion flag 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..71dadb73c4221ba4e76a07b132f6247bee2627c9 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.
@@ -372,9 +375,6 @@ const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
// Enables delegated renderer.
const char kEnableDelegatedRenderer[] = "enable-delegated-renderer";
-// Enables device motion events.
-const char kEnableDeviceMotion[] = "enable-device-motion";
-
// Enables restarting interrupted downloads.
const char kEnableDownloadResumption[] = "enable-download-resumption";
@@ -904,9 +904,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";
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698