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

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

Issue 291873002: Eliminate MediaPlayer & MediaPlayerClient abstractions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updated as per the 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
« no previous file with comments | « Source/modules/mediasource/HTMLVideoElementMediaSource.cpp ('k') | Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/media/MediaPlayer.h
diff --git a/Source/platform/graphics/media/MediaPlayer.h b/Source/platform/graphics/media/MediaPlayer.h
index 72ec05b9006658f574f02ce8a7ba794c08bce763..a8fe49d367c14ebd28f49e5a63658ed121bc9d25 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -45,7 +45,6 @@ namespace WebCore {
class AudioSourceProvider;
class GraphicsContext;
class IntRect;
-class IntSize;
class KURL;
class MediaPlayer;
class TimeRanges;
@@ -117,10 +116,6 @@ public:
virtual void pause() = 0;
virtual bool supportsSave() const = 0;
- virtual IntSize naturalSize() const = 0;
-
- virtual bool hasVideo() const = 0;
- virtual bool hasAudio() const = 0;
virtual double duration() const = 0;
@@ -160,18 +155,10 @@ public:
virtual bool hasSingleSecurityOrigin() const = 0;
- virtual bool didPassCORSAccessCheck() 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;
- virtual unsigned decodedFrameCount() const = 0;
- virtual unsigned droppedFrameCount() const = 0;
- virtual unsigned corruptedFrameCount() const = 0;
- virtual unsigned audioDecodedByteCount() const = 0;
- virtual unsigned videoDecodedByteCount() const = 0;
-
#if ENABLE(WEB_AUDIO)
virtual AudioSourceProvider* audioSourceProvider() = 0;
#endif
« no previous file with comments | « Source/modules/mediasource/HTMLVideoElementMediaSource.cpp ('k') | Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698