| OLD | NEW |
| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 953 | 953 |
| 954 #if defined(OS_ANDROID) | 954 #if defined(OS_ANDROID) |
| 955 // Disable user gesture requirement for the media element to enter fullscreen. | 955 // Disable user gesture requirement for the media element to enter fullscreen. |
| 956 const char kDisableGestureRequirementForMediaFullscreen[] = | 956 const char kDisableGestureRequirementForMediaFullscreen[] = |
| 957 "disable-gesture-requirement-for-media-fullscreen"; | 957 "disable-gesture-requirement-for-media-fullscreen"; |
| 958 | 958 |
| 959 // Disable user gesture requirement for media playback. | 959 // Disable user gesture requirement for media playback. |
| 960 const char kDisableGestureRequirementForMediaPlayback[] = | 960 const char kDisableGestureRequirementForMediaPlayback[] = |
| 961 "disable-gesture-requirement-for-media-playback"; | 961 "disable-gesture-requirement-for-media-playback"; |
| 962 | 962 |
| 963 // Disable history logging for media elements. | |
| 964 const char kDisableMediaHistoryLogging[] = "disable-media-history"; | |
| 965 | |
| 966 // Disable the click delay by sending click events during double tap. | 963 // Disable the click delay by sending click events during double tap. |
| 967 const char kDisableClickDelay[] = "disable-click-delay"; | 964 const char kDisableClickDelay[] = "disable-click-delay"; |
| 968 | 965 |
| 969 // Disable overscroll edge effects like those found in Android views. | 966 // Disable overscroll edge effects like those found in Android views. |
| 970 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 967 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
| 971 | 968 |
| 972 // WebRTC is enabled by default on Android. | 969 // WebRTC is enabled by default on Android. |
| 973 const char kDisableWebRTC[] = "disable-webrtc"; | 970 const char kDisableWebRTC[] = "disable-webrtc"; |
| 974 | 971 |
| 975 // Enable the recognition part of the Web Speech API. | 972 // Enable the recognition part of the Web Speech API. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 999 | 996 |
| 1000 // Disables support for Core Animation plugins. This is triggered when | 997 // Disables support for Core Animation plugins. This is triggered when |
| 1001 // accelerated compositing is disabled. See http://crbug.com/122430 . | 998 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1002 const char kDisableCoreAnimationPlugins[] = | 999 const char kDisableCoreAnimationPlugins[] = |
| 1003 "disable-core-animation-plugins"; | 1000 "disable-core-animation-plugins"; |
| 1004 #endif | 1001 #endif |
| 1005 | 1002 |
| 1006 // Don't dump stuff here, follow the same order as the header. | 1003 // Don't dump stuff here, follow the same order as the header. |
| 1007 | 1004 |
| 1008 } // namespace switches | 1005 } // namespace switches |
| OLD | NEW |