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

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

Issue 1127363004: Introduce "disable-speech-api" content flag and add it to WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename flag to "disable-speech", fix comments Created 5 years, 7 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 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // For tests, disable single thread scheduler and only manually composite. 232 // For tests, disable single thread scheduler and only manually composite.
233 const char kDisableSingleThreadProxyScheduler[] = 233 const char kDisableSingleThreadProxyScheduler[] =
234 "disable-single-thread-proxy-scheduler"; 234 "disable-single-thread-proxy-scheduler";
235 235
236 // Disable smooth scrolling for testing. 236 // Disable smooth scrolling for testing.
237 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; 237 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
238 238
239 // Disables the use of a 3D software rasterizer. 239 // Disables the use of a 3D software rasterizer.
240 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 240 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
241 241
242 // Disables the Web Speech API.
243 const char kDisableSpeech[] = "disable-speech";
Peter Beverloo 2015/05/08 11:25:00 Sorry to bikeshed over this, but what about "disab
timvolodine 2015/05/12 17:09:20 agree, done ;)
244
242 // Disables SVG 1.1 DOM. 245 // Disables SVG 1.1 DOM.
243 const char kDisableSVG1DOM[] = "disable-svg1dom"; 246 const char kDisableSVG1DOM[] = "disable-svg1dom";
244 247
245 // Disable text blob rendering. 248 // Disable text blob rendering.
246 const char kDisableTextBlobs[] = "disable-text-blobs"; 249 const char kDisableTextBlobs[] = "disable-text-blobs";
247 250
248 // Disable multithreaded GPU compositing of web content. 251 // Disable multithreaded GPU compositing of web content.
249 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 252 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
250 253
251 // Disable multithreaded, compositor scrolling of web content. 254 // Disable multithreaded, compositor scrolling of web content.
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 // Windows Vista and later. 990 // Windows Vista and later.
988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 991 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
989 #endif 992 #endif
990 993
991 // Enables the use of NPAPI plugins. 994 // Enables the use of NPAPI plugins.
992 const char kEnableNpapi[] = "enable-npapi"; 995 const char kEnableNpapi[] = "enable-npapi";
993 996
994 // 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.
995 998
996 } // 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