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

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

Issue 298093004: Eliminate MediaPlayer & MediaPlayerClient abstractions(play/pause, other APIs) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 a8fe49d367c14ebd28f49e5a63658ed121bc9d25..32fcd9f56be5d494534da03cbc8c6d0ded2fd6c2 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -112,11 +112,6 @@ public:
virtual void load(blink::WebMediaPlayer::LoadType, const String& url, blink::WebMediaPlayer::CORSMode) = 0;
- virtual void play() = 0;
- virtual void pause() = 0;
-
- virtual bool supportsSave() const = 0;
-
virtual double duration() const = 0;
virtual double currentTime() const = 0;
@@ -128,8 +123,6 @@ public:
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 };
@@ -153,12 +146,6 @@ public:
virtual void hideFullscreenOverlay() = 0;
virtual bool canShowFullscreenOverlay() const = 0;
- virtual bool hasSingleSecurityOrigin() const = 0;
-
- // Time value in the movie's time scale. It is only necessary to override this if the media
- // engine uses rational numbers to represent media time.
- virtual double mediaTimeForTimeValue(double timeValue) const = 0;
-
#if ENABLE(WEB_AUDIO)
virtual AudioSourceProvider* audioSourceProvider() = 0;
#endif

Powered by Google App Engine
This is Rietveld 408576698