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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2556333002: Detect change on video/viewport intersection when rendered remotely (Closed)
Patch Set: Addressed ojan's comment. Created 4 years 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 6e01840d71c6e0e05129c139d91354fd04f2f4d9..41d20f7e1f3da43c47c3d7a78af1cb735216476c 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -220,6 +220,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// then seek to resume playback at the current position.
void ScheduleRestart();
+ // Called when media starts/stops being rendered remotely.
+ void OnRemoteRenderingChanged(bool is_displayed_remotely);
xhwang 2016/12/14 18:11:41 Do rendering and displayed mean the same thing? D
xjz 2016/12/15 00:01:41 This name seems confusing. This is not actually te
+
// Distinct states that |delegate_| can be in.
// TODO(sandersd): This should move into WebMediaPlayerDelegate.
// (Public for testing.)

Powered by Google App Engine
This is Rietveld 408576698