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

Unified Diff: trunk/Source/platform/graphics/media/MediaPlayer.h

Issue 320053003: Revert 175683 "Eliminate MediaPlayer & MediaPlayerClient abstrac..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 6 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 | « trunk/Source/core/html/HTMLMediaElement.cpp ('k') | trunk/Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/platform/graphics/media/MediaPlayer.h
===================================================================
--- trunk/Source/platform/graphics/media/MediaPlayer.h (revision 175710)
+++ trunk/Source/platform/graphics/media/MediaPlayer.h (working copy)
@@ -112,12 +112,20 @@
virtual void load(blink::WebMediaPlayer::LoadType, const String& url, blink::WebMediaPlayer::CORSMode) = 0;
+ virtual double rate() const = 0;
+ virtual void setRate(double) = 0;
+
enum NetworkState { Empty, Idle, Loading, Loaded, FormatError, NetworkError, DecodeError };
virtual NetworkState networkState() const = 0;
enum ReadyState { HaveNothing, HaveMetadata, HaveCurrentData, HaveFutureData, HaveEnoughData };
virtual ReadyState readyState() const = 0;
+ virtual double maxTimeSeekable() const = 0;
+ virtual PassRefPtr<TimeRanges> buffered() const = 0;
+
+ virtual bool didLoadingProgress() const = 0;
+
virtual void paint(GraphicsContext*, const IntRect&) = 0;
virtual bool copyVideoTextureToPlatformTexture(blink::WebGraphicsContext3D*, Platform3DObject, GC3Dint, GC3Denum, GC3Denum, bool, bool) = 0;
« no previous file with comments | « trunk/Source/core/html/HTMLMediaElement.cpp ('k') | trunk/Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698