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

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

Issue 355183002: Disable speech synthesis API for content/ layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
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 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 452
453 // Enables the Skia benchmarking extension 453 // Enables the Skia benchmarking extension
454 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking"; 454 const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
455 455
456 // On platforms that support it, enables smooth scroll animation. 456 // On platforms that support it, enables smooth scroll animation.
457 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; 457 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
458 458
459 // Enable spatial navigation 459 // Enable spatial navigation
460 const char kEnableSpatialNavigation[] = "enable-spatial-navigation"; 460 const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
461 461
462 // Enables the synthesis part of the Web Speech API. 462 // Disables the synthesis part of the Web Speech API.
463 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; 463 const char kDisableSpeechSynthesis[] = "disable-speech-synthesis";
464 464
465 // Enables StatsTable, logging statistics to a global named shared memory table. 465 // Enables StatsTable, logging statistics to a global named shared memory table.
466 const char kEnableStatsTable[] = "enable-stats-table"; 466 const char kEnableStatsTable[] = "enable-stats-table";
467 467
468 // Experimentally ensures that each renderer process: 468 // Experimentally ensures that each renderer process:
469 // 1) Only handles rendering for pages from a single site, apart from iframes. 469 // 1) Only handles rendering for pages from a single site, apart from iframes.
470 // (Note that a page can reference content from multiple origins due to images, 470 // (Note that a page can reference content from multiple origins due to images,
471 // JavaScript files, etc. Cross-site iframes are also loaded in-process.) 471 // JavaScript files, etc. Cross-site iframes are also loaded in-process.)
472 // 2) Only has authority to see or use cookies for the page's top-level origin. 472 // 2) Only has authority to see or use cookies for the page's top-level origin.
473 // (So if a.com iframes b.com, the b.com network request will be sent without 473 // (So if a.com iframes b.com, the b.com network request will be sent without
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 // Enable the Win32K process mitigation policy for renderer processes which 954 // Enable the Win32K process mitigation policy for renderer processes which
955 // prevents them from invoking user32 and gdi32 system calls which enter 955 // prevents them from invoking user32 and gdi32 system calls which enter
956 // the kernel. This is only supported on Windows 8 and beyond. 956 // the kernel. This is only supported on Windows 8 and beyond.
957 const char kEnableWin32kRendererLockDown[] 957 const char kEnableWin32kRendererLockDown[]
958 = "enable_win32k_renderer_lockdown"; 958 = "enable_win32k_renderer_lockdown";
959 #endif 959 #endif
960 960
961 // Don't dump stuff here, follow the same order as the header. 961 // Don't dump stuff here, follow the same order as the header.
962 962
963 } // namespace switches 963 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/shell/browser/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698