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

Side by Side Diff: content/public/common/content_switches.cc

Issue 834233002: Removing --enable-speech-recognition flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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
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
OLDNEW
« 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