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

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

Issue 2749653003: Prototype HTMLVideoElement properties for WebGL texImage2D (Closed)
Patch Set: use VideoFrame Created 3 years, 9 months 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/WebMediaPlayer.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
index 85a95762e065fcfe7aef3f770e9f3ecac0f99d5b..9b66ab58e56647d705c5bc507c44e575d92cd29d 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -284,6 +284,15 @@ class WebMediaPlayer {
const WebVector<TrackId>& enabledTrackIds) {}
// |selectedTrackId| is null if no track is selected.
virtual void selectedVideoTrackChanged(TrackId* selectedTrackId) {}
+
+ // TODO(kainino): This is a prototype implementation for getting the width,
+ // height, and timestamp of the last frame uploaded to a WebGL texture.
+ // https://crbug.com/639174
+ virtual bool getCurrentFrameInfo(unsigned* width,
+ unsigned* height,
+ double* timestamp) {
+ return false;
+ }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698