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 |