Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebMediaPlayer.h |
| diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h |
| index 75db1339d060c067c15e633cd2baa69f5af61843..2b01f6a5964df3ecd440449f0c806b0988b81079 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaPlayer.h |
| +++ b/third_party/WebKit/public/platform/WebMediaPlayer.h |
| @@ -228,6 +228,10 @@ class WebMediaPlayer { |
| virtual void enteredFullscreen() {} |
| virtual void exitedFullscreen() {} |
| + // Inform WebmediaPlayer when the element starts/stops stably filling most of |
|
xhwang
2016/11/30 18:13:09
nit: WebMediaPlayer
xjz
2016/11/30 18:58:16
Done.
|
| + // the viewport. |
| + virtual void stablyFilledViewport(bool isMostlyFillingViewport) {} |
|
xhwang
2016/11/30 18:13:09
nit: IMHO this is a bit hard to read, especially s
xhwang
2016/11/30 18:13:09
nit: Could you please clarify what "stably" and "m
Z_DONOTUSE
2016/11/30 18:48:23
How about just filledViewport(bool isMostlyFilling
xjz
2016/11/30 18:58:16
I am fine with either way, but think this one is s
xhwang
2016/11/30 19:06:21
filledViewport(bool isMostlyFillingViewport) l-g-t
miu
2016/11/30 19:56:56
I don't like filledViewport, for multiple reasons:
|
| + |
| virtual void enabledAudioTracksChanged( |
| const WebVector<TrackId>& enabledTrackIds) {} |
| // |selectedTrackId| is null if no track is selected. |