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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 636863002: Make SpeechRecognitionController per frame instead of per page. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 1 month 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: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index d002f3e658c7938c78fc23dd505c927885655d79..c85f7009eb31df1ad0af3bef5a6fa0916d6a404d 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -147,7 +147,6 @@
#include "web/NavigatorContentUtilsClientImpl.h"
#include "web/PopupContainer.h"
#include "web/PrerendererClientImpl.h"
-#include "web/SpeechRecognitionClientProxy.h"
#include "web/StorageQuotaClientImpl.h"
#include "web/ValidationMessageClientImpl.h"
#include "web/ViewportAnchor.h"
@@ -431,7 +430,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
m_page = adoptPtrWillBeNoop(new Page(pageClients));
MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl);
- provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0));
provideNavigatorContentUtilsTo(*m_page, NavigatorContentUtilsClientImpl::create(this));
provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create());

Powered by Google App Engine
This is Rietveld 408576698