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

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayerClient.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: third_party/WebKit/public/platform/WebMediaPlayerClient.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayerClient.h b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
index cb9807e61d05415ebb15cea35f0ac151335c4ce9..b81d629b28569f19c060abc5d44a8353c73f2773 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h
@@ -94,6 +94,7 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient {
virtual void disconnectedFromRemoteDevice() = 0;
virtual void cancelledRemotePlaybackRequest() = 0;
virtual void remotePlaybackStarted() = 0;
+ virtual void enableMonitorViewportIntersection(bool) {}
xhwang 2016/12/14 18:11:41 I know blink/webkit doesn't like comments, but IMH
xhwang 2016/12/14 18:11:41 BTW, I am not a fan of using enableFoo(false) to d
miu 2016/12/14 19:15:50 No, that wouldn't be right: This is a control meth
ojan 2016/12/14 21:00:56 Just want to clarify: Blink has no policy against
xjz 2016/12/15 00:01:41 Thanks miu and ojan. Took the suggestion, and rena
// Returns whether the media element is in an autoplay muted state.
virtual bool isAutoplayingMuted() = 0;

Powered by Google App Engine
This is Rietveld 408576698