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 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 890 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 | 901 |
902 // Disable overscroll edge effects like those found in Android views. | 902 // Disable overscroll edge effects like those found in Android views. |
903 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 903 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
904 | 904 |
905 // Disable the pull-to-refresh effect when vertically overscrolling content. | 905 // Disable the pull-to-refresh effect when vertically overscrolling content. |
906 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; | 906 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; |
907 | 907 |
908 // WebRTC is enabled by default on Android. | 908 // WebRTC is enabled by default on Android. |
909 const char kDisableWebRTC[] = "disable-webrtc"; | 909 const char kDisableWebRTC[] = "disable-webrtc"; |
910 | 910 |
911 // Enable the recognition part of the Web Speech API. | |
912 const char kEnableSpeechRecognition[] = "enable-speech-recognition"; | |
913 | |
914 // Always use the video overlay for the embedded video. | 911 // Always use the video overlay for the embedded video. |
915 // This switch is intended only for tests. | 912 // This switch is intended only for tests. |
916 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; | 913 const char kForceUseOverlayEmbeddedVideo[] = "force-use-overlay-embedded-video"; |
917 | 914 |
918 // The telephony region (ISO country code) to use in phone number detection. | 915 // The telephony region (ISO country code) to use in phone number detection. |
919 const char kNetworkCountryIso[] = "network-country-iso"; | 916 const char kNetworkCountryIso[] = "network-country-iso"; |
920 | 917 |
921 // Enables remote debug over HTTP on the specified socket name. | 918 // Enables remote debug over HTTP on the specified socket name. |
922 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; | 919 const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name"; |
923 | 920 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 990 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
994 return false; | 991 return false; |
995 // Default. | 992 // Default. |
996 return group_name == "Enabled"; | 993 return group_name == "Enabled"; |
997 } | 994 } |
998 #endif | 995 #endif |
999 | 996 |
1000 // Don't dump stuff here, follow the same order as the header. | 997 // Don't dump stuff here, follow the same order as the header. |
1001 | 998 |
1002 } // namespace switches | 999 } // namespace switches |
OLD | NEW |