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

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

Issue 214793005: Use HTMLMediaElement::togglePlayState() where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: documentation Created 6 years, 9 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/HTMLMediaElement.cpp ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaController.h
diff --git a/Source/core/html/MediaController.h b/Source/core/html/MediaController.h
index b18802a1f53b565f9afc10e751136b29d96703c9..484b37fc8f9fcf4576dbd32301d0a3ac6c782d8a 100644
--- a/Source/core/html/MediaController.h
+++ b/Source/core/html/MediaController.h
@@ -61,9 +61,9 @@ public:
virtual double currentTime() const OVERRIDE;
virtual void setCurrentTime(double, ExceptionState&) OVERRIDE;
- virtual bool paused() const OVERRIDE { return m_paused; }
- virtual void play() OVERRIDE;
- virtual void pause() OVERRIDE;
+ bool paused() const { return m_paused; }
+ void play();
+ void pause();
void unpause();
double defaultPlaybackRate() const { return m_defaultPlaybackRate; }
@@ -86,8 +86,6 @@ public:
virtual bool hasAudio() const OVERRIDE;
- virtual bool canPlay() const OVERRIDE;
-
bool isRestrained() const;
bool isBlocked() const;
« no previous file with comments | « Source/core/html/HTMLMediaElement.cpp ('k') | Source/core/html/MediaController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698