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

Unified Diff: Source/core/html/MediaControllerInterface.h

Issue 156173003: Remove unused parts of MediaControllerInterface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/core/html/MediaController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaControllerInterface.h
diff --git a/Source/core/html/MediaControllerInterface.h b/Source/core/html/MediaControllerInterface.h
index ca9deaee2f848b3a215f0317d390251d1aec5e03..481d6bd83f19b85a7e7201b4564a5f1166da3e96 100644
--- a/Source/core/html/MediaControllerInterface.h
+++ b/Source/core/html/MediaControllerInterface.h
@@ -26,22 +26,15 @@
#ifndef MediaControllerInterface_h
#define MediaControllerInterface_h
-#include "wtf/PassRefPtr.h"
-
namespace WebCore {
class ExceptionState;
-class TimeRanges;
class MediaControllerInterface {
public:
virtual ~MediaControllerInterface() { };
- // MediaController IDL:
- virtual PassRefPtr<TimeRanges> buffered() const = 0;
- virtual PassRefPtr<TimeRanges> seekable() const = 0;
- virtual PassRefPtr<TimeRanges> played() = 0;
-
+ // MediaControlElements:
virtual double duration() const = 0;
virtual double currentTime() const = 0;
virtual void setCurrentTime(double, ExceptionState&) = 0;
@@ -50,20 +43,12 @@ public:
virtual void play() = 0;
virtual void pause() = 0;
- virtual double defaultPlaybackRate() const = 0;
- virtual void setDefaultPlaybackRate(double) = 0;
-
- virtual double playbackRate() const = 0;
- virtual void setPlaybackRate(double) = 0;
-
virtual double volume() const = 0;
virtual void setVolume(double, ExceptionState&) = 0;
virtual bool muted() const = 0;
virtual void setMuted(bool) = 0;
- // MediaControlElements:
- virtual bool isFullscreen() const = 0;
virtual void enterFullscreen() = 0;
virtual bool hasAudio() const = 0;
@@ -76,8 +61,6 @@ public:
virtual void endScrubbing() = 0;
virtual bool canPlay() const = 0;
-
- virtual bool hasCurrentSrc() const = 0;
};
}
« no previous file with comments | « Source/core/html/MediaController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698