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

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

Issue 21591002: Enable Device Motion on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload Created 7 years, 5 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 88ee98c17173847579862c3494423485d3e5c81e..66e5464560c16090ec6425a1fc82e0ca752d28c0 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -332,6 +332,11 @@ const char kEnableDelegatedRenderer[] = "enable-delegated-renderer";
// Enables device motion events.
const char kEnableDeviceMotion[] = "enable-device-motion";
+#if defined(OS_ANDROID)
+// Disables device motion events.
+const char kDisableDeviceMotion[] = "disable-device-motion";
+#endif
+
// Enables restarting interrupted downloads.
const char kEnableDownloadResumption[] = "enable-download-resumption";
« 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