Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1539)

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayerClient.h

Issue 2487373003: Disable background video track behind a feature flag (Closed)
Patch Set: Rebase + comment fix Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}
};
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698