Chromium Code Reviews| 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..ce571b267bde27032b67012f6a92b13d2ab9ea44 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
| +++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
| @@ -95,6 +95,11 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient { |
| virtual void cancelledRemotePlaybackRequest() = 0; |
| virtual void remotePlaybackStarted() = 0; |
| + // After the monitoring is activated, the client can inform WebMediaPlayer |
|
xhwang
2016/12/15 20:31:11
s/can/will
xjz
2016/12/15 20:42:37
Done.
|
| + // when the element becomes/stops being the dominant visible content by |
| + // calling WebMediaPlayer::becameDominantVisibleContent(bool). |
| + virtual void activateViewportIntersectionMonitoring(bool) {} |
| + |
| // Returns whether the media element is in an autoplay muted state. |
| virtual bool isAutoplayingMuted() = 0; |