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

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

Issue 306123003: Eliminate MediaPlayer & MediaPlayerClient abstractions(seek, duration, poster APIs) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review comments Created 6 years, 7 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: Source/platform/graphics/media/MediaPlayer.h
diff --git a/Source/platform/graphics/media/MediaPlayer.h b/Source/platform/graphics/media/MediaPlayer.h
index a4d7ccdcac9f7590937e4603dd97d7403416489c..96f27bdf5273d52d9358e4e0a902f9d5b584af48 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -117,21 +117,11 @@ public:
virtual bool supportsSave() const = 0;
- virtual double duration() const = 0;
-
- virtual double currentTime() const = 0;
-
- virtual void seek(double) = 0;
-
- virtual bool seeking() const = 0;
-
virtual double rate() const = 0;
virtual void setRate(double) = 0;
virtual bool paused() const = 0;
- virtual void setPoster(const KURL&) = 0;
-
enum NetworkState { Empty, Idle, Loading, Loaded, FormatError, NetworkError, DecodeError };
virtual NetworkState networkState() const = 0;

Powered by Google App Engine
This is Rietveld 408576698