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..cb9807e61d05415ebb15cea35f0ac151335c4ce9 100644 |
--- a/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
+++ b/third_party/WebKit/public/platform/WebMediaPlayerClient.h |
@@ -101,6 +101,12 @@ 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). |
+ virtual WebMediaPlayer::TrackId getSelectedVideoTrackId() = 0; |
+ |
protected: |
~WebMediaPlayerClient() {} |
}; |