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

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

Issue 2487373003: Disable background video track behind a feature flag (Closed)
Patch Set: Updated test files 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..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() {}
};
« 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