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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 2749653003: Prototype HTMLVideoElement properties for WebGL texImage2D (Closed)
Patch Set: move fields to WebGLTexture 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: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 308da411abec8e9cb90ac8c3f6d0d6630918348a..c49d0d67ca8b54f1e452b946ce11612f64e0e901 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -140,6 +140,10 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
void selectedVideoTrackChanged(
blink::WebMediaPlayer::TrackId* selectedTrackId) override;
+ bool getLastUploadedFrameInfo(unsigned* width,
+ unsigned* height,
+ double* timestamp) override;
+
// Dimensions of the video.
blink::WebSize naturalSize() const override;
@@ -710,6 +714,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl
// Whether embedded media experience is currently enabled.
bool embedded_media_experience_enabled_ = false;
+ gfx::Size last_uploaded_frame_size_;
+ base::TimeDelta last_uploaded_frame_timestamp_;
+
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
};

Powered by Google App Engine
This is Rietveld 408576698