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

Unified Diff: android_webview/lib/main/aw_main_delegate.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: 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 852081619f39e60952835d7157d8a053060609e0..7bafb44f0e39ba8b3182c238f5f695297d29c7d0 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -90,6 +90,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// WebView does not yet support screen orientation locking.
cl->AppendSwitch(switches::kDisableScreenOrientationLock);
+ // WebView does not currently support Web Speech API (crbug.com/483889)
Peter Beverloo 2015/05/07 16:45:24 It'd be more useful to point to the bug which is a
timvolodine 2015/05/07 18:45:14 do you mean "disabling"? is there such a bug or sh
Peter Beverloo 2015/05/08 11:25:00 No - if you look at other linked bugs, e.g. https:
+ cl->AppendSwitch(switches::kDisableSpeechRecognition);
+
// This is needed to be able to mmap the V8 snapshot and ICU data file
// directly from the WebView .apk.
// This needs to be here so that it gets to run before the code in
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | content/public/common/content_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698