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 87c058c8da7cf3760c0fa3293db6c6c03b65dd3d..40c0d77796ea24732e44e11de5d8b967f787f1ea 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaPlayer.h |
| +++ b/third_party/WebKit/public/platform/WebMediaPlayer.h |
| @@ -226,6 +226,8 @@ class WebMediaPlayer { |
| // Inform WebMediaPlayer when the element has entered/exited fullscreen. |
| virtual void enteredFullscreen() {} |
| virtual void exitedFullscreen() {} |
| + // Inform WebMediaPlayer when the video/viewport ratio changed. |
|
xhwang
2016/11/14 18:32:03
Please provide more details on what this ratio is.
xjz
2016/11/15 23:03:39
Done.
|
| + virtual void videoViewportRatioChanged(float ratio) {} |
| virtual void enabledAudioTracksChanged( |
| const WebVector<TrackId>& enabledTrackIds) {} |