summaryrefslogtreecommitdiffstats
path: root/chrome/browser/about_flags.cc
diff options
context:
space:
mode:
authortimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 18:07:57 +0000
committertimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-19 18:07:57 +0000
commit4c063e76b668154b79dd28ea256212be89376fc3 (patch)
treeba81115b7ee855b6f1aa65906c3c737ed77270d3 /chrome/browser/about_flags.cc
parent93ffff6b419728899db2c2c273a29a6d0b6a17b0 (diff)
downloadchromium_src-4c063e76b668154b79dd28ea256212be89376fc3.zip
chromium_src-4c063e76b668154b79dd28ea256212be89376fc3.tar.gz
chromium_src-4c063e76b668154b79dd28ea256212be89376fc3.tar.bz2
Enable Device Motion API on all platforms by default.
After this change the JavaScript expression 'window.DeviceMotionEvent' will start evaluating to true on all platforms. For Android, Windows and Mac devices with accelerometer and gyroscope sensors events will start being delivered. For devices without such sensors, and for other platforms (e.g. Chrome OS, Linux) which do not have corresponding sensor data fetcher implementations, we'll deliver a one-shot event with all properties set the NULL, per the specification. This patch also removes the obsolete 'enable-device-motion' flag, instead the 'disable-device-motion' flag is available. BUG=135804 Review URL: https://chromiumcodereview.appspot.com/24220002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224164 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_flags.cc')
-rw-r--r--chrome/browser/about_flags.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6719ab8..965bfbd3 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1681,13 +1681,6 @@ const Experiment kExperiments[] = {
MULTI_VALUE_TYPE(kMapImageChoices)
},
{
- "enable-device-motion",
- IDS_FLAGS_ENABLE_DEVICE_MOTION_NAME,
- IDS_FLAGS_ENABLE_DEVICE_MOTION_DESCRIPTION,
- kOsDesktop,
- SINGLE_VALUE_TYPE(switches::kEnableDeviceMotion)
- },
- {
"enable-add-to-homescreen",
IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_NAME,
IDS_FLAGS_ENABLE_ADD_TO_HOMESCREEN_DESCRIPTION,