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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 1580493004: Plumb audio focus support for spitzer clients. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate_hookup
Patch Set: Fix crash, plumb. Created 4 years, 11 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/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index d97a0b4c4a5429f5b1e8be09ced5e34e0600c9eb..6a692b96d2f7bdfcb9b8425c9ca965b0c6fefab5 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -187,8 +187,11 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
const AddTextTrackDoneCB& done_cb);
// WebMediaPlayerDelegate::Observer implementation.
+ blink::WebMediaPlayer* GetPlayer() override;
void OnHidden() override;
void OnShown() override;
+ void OnPlay() override;
+ void OnPause() override;
private:
// Initiate suspending the pipeline.

Powered by Google App Engine
This is Rietveld 408576698