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

Unified Diff: content/renderer/media/webrtc_audio_device_impl.h

Issue 21183002: Adding key press detection in the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add linux impl 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/renderer/media/webrtc_audio_device_impl.h
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h
index 960d0d0d985dc45e4622f9d6fb3f08b2f46eeec4..68ba84ab2998a4e871d0760e0b26e3b0f1bbb7ac 100644
--- a/content/renderer/media/webrtc_audio_device_impl.h
+++ b/content/renderer/media/webrtc_audio_device_impl.h
@@ -208,7 +208,8 @@ class WebRtcAudioCapturerSink {
int number_of_channels,
int number_of_frames,
int audio_delay_milliseconds,
- double volume) = 0;
+ double volume,
+ bool key_pressed) = 0;
// Set the format for the capture audio parameters.
virtual void SetCaptureFormat(const media::AudioParameters& params) = 0;
@@ -319,7 +320,8 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl
int number_of_channels,
int number_of_frames,
int audio_delay_milliseconds,
- double volume) OVERRIDE;
+ double volume,
+ bool key_pressed) OVERRIDE;
// Called on the main render thread.
virtual void SetCaptureFormat(const media::AudioParameters& params) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698