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

Unified Diff: media/base/audio_capturer_source.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: media/base/audio_capturer_source.h
diff --git a/media/base/audio_capturer_source.h b/media/base/audio_capturer_source.h
index deae5e22dc1eaebb43b128dbdb1ca2b4b52ba6a0..b584f8a48db490ac1a1fcf2e6af67b0257ab4ab1 100644
--- a/media/base/audio_capturer_source.h
+++ b/media/base/audio_capturer_source.h
@@ -26,7 +26,8 @@ class AudioCapturerSource
// Callback to deliver the captured data from the OS.
virtual void Capture(AudioBus* audio_source,
int audio_delay_milliseconds,
- double volume) = 0;
+ double volume,
+ bool key_pressed) = 0;
// Signals an error has occurred.
virtual void OnCaptureError() = 0;

Powered by Google App Engine
This is Rietveld 408576698