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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 // Disables HTML5 DB support. 134 // Disables HTML5 DB support.
135 const char kDisableDatabases[] = "disable-databases"; 135 const char kDisableDatabases[] = "disable-databases";
136 136
137 // Disables delegated renderer. 137 // Disables delegated renderer.
138 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer"; 138 const char kDisableDelegatedRenderer[] = "disable-delegated-renderer";
139 139
140 // Disables desktop notifications (default enabled on windows). 140 // Disables desktop notifications (default enabled on windows).
141 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; 141 const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
142 142
143 // Disables device orientation events. 143 // Disable device motion events.
144 const char kDisableDeviceMotion[] = "disable-device-motion";
145
146 // Disable device orientation events.
144 const char kDisableDeviceOrientation[] = "disable-device-orientation"; 147 const char kDisableDeviceOrientation[] = "disable-device-orientation";
145 148
146 // Disable experimental WebGL support. 149 // Disable experimental WebGL support.
147 const char kDisableExperimentalWebGL[] = "disable-webgl"; 150 const char kDisableExperimentalWebGL[] = "disable-webgl";
148 151
149 // Disable FileSystem API. 152 // Disable FileSystem API.
150 const char kDisableFileSystem[] = "disable-file-system"; 153 const char kDisableFileSystem[] = "disable-file-system";
151 154
152 const char kDisableFixedPositionCreatesStackingContext[] 155 const char kDisableFixedPositionCreatesStackingContext[]
153 = "disable-fixed-position-creates-stacking-context"; 156 = "disable-fixed-position-creates-stacking-context";
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 900 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
898 901
899 // Enables WebRTC AEC recordings. 902 // Enables WebRTC AEC recordings.
900 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; 903 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings";
901 904
902 // Enable WebRTC to open TCP server sockets. 905 // Enable WebRTC to open TCP server sockets.
903 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; 906 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
904 #endif 907 #endif
905 908
906 #if defined(OS_ANDROID) 909 #if defined(OS_ANDROID)
907 // Disables device motion events.
908 const char kDisableDeviceMotion[] = "disable-device-motion";
909
910 // Disable user gesture requirement for the media element to enter fullscreen. 910 // Disable user gesture requirement for the media element to enter fullscreen.
911 const char kDisableGestureRequirementForMediaFullscreen[] = 911 const char kDisableGestureRequirementForMediaFullscreen[] =
912 "disable-gesture-requirement-for-media-fullscreen"; 912 "disable-gesture-requirement-for-media-fullscreen";
913 913
914 // Disable user gesture requirement for media playback. 914 // Disable user gesture requirement for media playback.
915 const char kDisableGestureRequirementForMediaPlayback[] = 915 const char kDisableGestureRequirementForMediaPlayback[] =
916 "disable-gesture-requirement-for-media-playback"; 916 "disable-gesture-requirement-for-media-playback";
917 917
918 // Disable history logging for media elements. 918 // Disable history logging for media elements.
919 const char kDisableMediaHistoryLogging[] = "disable-media-history"; 919 const char kDisableMediaHistoryLogging[] = "disable-media-history";
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
961 #endif 961 #endif
962 962
963 #if defined(USE_AURA) 963 #if defined(USE_AURA)
964 // Forces usage of the test compositor. Needed to run ui tests on bots. 964 // Forces usage of the test compositor. Needed to run ui tests on bots.
965 extern const char kTestCompositor[] = "test-compositor"; 965 extern const char kTestCompositor[] = "test-compositor";
966 #endif 966 #endif
967 967
968 // Don't dump stuff here, follow the same order as the header. 968 // Don't dump stuff here, follow the same order as the header.
969 969
970 } // namespace switches 970 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698