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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 21183002: Adding key press detection in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 1f6492b54e26fdcbb21e5487044dea947e2ccf8b..6773f170c695990706e05c2a70b3118bc52d5908 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -617,11 +617,14 @@ void RenderProcessHostImpl::CreateMessageFilters() {
channel_->AddFilter(new AudioInputRendererHost(
audio_manager,
media_stream_manager,
- BrowserMainLoop::GetInstance()->audio_mirroring_manager()));
+ BrowserMainLoop::GetInstance()->audio_mirroring_manager(),
+ BrowserMainLoop::GetInstance()->user_input_monitor()));
channel_->AddFilter(new AudioRendererHost(
- GetID(), audio_manager,
+ GetID(),
+ audio_manager,
BrowserMainLoop::GetInstance()->audio_mirroring_manager(),
- media_internals, media_stream_manager));
+ media_internals,
+ media_stream_manager));
channel_->AddFilter(
new MIDIHost(BrowserMainLoop::GetInstance()->midi_manager()));
channel_->AddFilter(new MIDIDispatcherHost(GetID(), browser_context));

Powered by Google App Engine
This is Rietveld 408576698