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

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

Issue 2749653003: Prototype HTMLVideoElement properties for WebGL texImage2D (Closed)
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLTexture.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLTexture.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698