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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 years, 8 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 62c5d04e5bb5b9c5364fb770da430661aa39fbbb..f76d3740b478dcc6ea312fbeddd78f4a473e39b0 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -215,10 +215,6 @@
#include "chrome/browser/media/webrtc_logging_handler_host.h"
#endif
-#if defined(ENABLE_INPUT_SPEECH)
-#include "chrome/browser/speech/chrome_speech_recognition_manager_delegate_bubble_ui.h"
-#endif
-
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/file_manager/app_id.h"
#endif
@@ -2168,13 +2164,7 @@ void ChromeContentBrowserClient::ResourceDispatcherHostCreated() {
// TODO(tommi): Rename from Get to Create.
content::SpeechRecognitionManagerDelegate*
ChromeContentBrowserClient::GetSpeechRecognitionManagerDelegate() {
-#if defined(ENABLE_INPUT_SPEECH)
- return new speech::ChromeSpeechRecognitionManagerDelegateBubbleUI();
-#else
- // Platforms who don't implement x-webkit-speech (a.k.a INPUT_SPEECH) just
- // need the base delegate without the bubble UI.
return new speech::ChromeSpeechRecognitionManagerDelegate();
-#endif
}
net::NetLog* ChromeContentBrowserClient::GetNetLog() {
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/renderer_context_menu/render_view_context_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698