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 f9e4dbdf05ee58fdea2d6dbeba99a83259b077cb..cced26f9c88da088ef28e903ea7faf95c1f0dcc0 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
| +++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
| @@ -101,6 +101,11 @@ class BLINK_PLATFORM_EXPORT WebMediaPlayerClient { |
| // Warning: This method will destruct the caller. |
| virtual void requestReload(const WebURL& newUrl) = 0; |
| + // Returns if there's a selected video track. |
| + virtual bool hasSelectedVideoTrack() = 0; |
| + // Returns the selected video track id (or an empty id if there's none). |
|
pfeldman
2016/11/22 19:55:56
nit:blank line above.
whywhat
2016/11/23 02:23:38
Thanks! Done.
|
| + virtual WebMediaPlayer::TrackId getSelectedVideoTrackId() = 0; |
| + |
| protected: |
| ~WebMediaPlayerClient() {} |
| }; |