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

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

Issue 2749653003: Prototype HTMLVideoElement properties for WebGL texImage2D (Closed)
Patch Set: add threshold on float equality 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..ad439fec7ec160f039216a9ce9aeee04d8b11320 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 for 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 getLastUploadedFrameInfo(unsigned* width,
+ unsigned* height,
+ double* timestamp) {
+ return false;
+ }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698