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

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

Issue 11348275: Remove the flag for the Speech API and turn it on by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | 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 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 // Enable shared workers. Functionality not yet complete. 197 // Enable shared workers. Functionality not yet complete.
198 const char kDisableSharedWorkers[] = "disable-shared-workers"; 198 const char kDisableSharedWorkers[] = "disable-shared-workers";
199 199
200 // Disables site-specific tailoring to compatibility issues in WebKit. 200 // Disables site-specific tailoring to compatibility issues in WebKit.
201 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; 201 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
202 202
203 // Disables speech input. 203 // Disables speech input.
204 const char kDisableSpeechInput[] = "disable-speech-input"; 204 const char kDisableSpeechInput[] = "disable-speech-input";
205 205
206 // Enables scripted speech api.
207 const char kEnableScriptedSpeech[] = "enable-scripted-speech";
208
209 // Specifies the request key for the continuous speech recognition webservice. 206 // Specifies the request key for the continuous speech recognition webservice.
210 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 207 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
211 208
212 #if defined(OS_ANDROID) 209 #if defined(OS_ANDROID)
213 // Enable web audio API. 210 // Enable web audio API.
214 const char kEnableWebAudio[] = "enable-webaudio"; 211 const char kEnableWebAudio[] = "enable-webaudio";
215 #else 212 #else
216 // Disable web audio API. 213 // Disable web audio API.
217 const char kDisableWebAudio[] = "disable-webaudio"; 214 const char kDisableWebAudio[] = "disable-webaudio";
218 #endif 215 #endif
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 = "disable-fixed-position-creates-stacking-context"; 743 = "disable-fixed-position-creates-stacking-context";
747 744
748 // Defer image decoding in WebKit until painting. 745 // Defer image decoding in WebKit until painting.
749 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 746 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
750 747
751 // Enables history navigation in response to horizontal overscroll. 748 // Enables history navigation in response to horizontal overscroll.
752 const char kEnableOverscrollHistoryNavigation[] = 749 const char kEnableOverscrollHistoryNavigation[] =
753 "enable-overscroll-history-navigation"; 750 "enable-overscroll-history-navigation";
754 751
755 } // namespace switches 752 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698