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

Unified Diff: media/blink/webmediaplayer_impl.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 | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 30bd556df297ef95bd4719d2dd32decf9306f0f8..2567e157886ccb4d20ec747073b2de5de7fb7098 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;
@@ -711,6 +715,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);
};
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698