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

Unified Diff: third_party/WebKit/Source/core/html/shadow/MediaControls.h

Issue 2499883002: Media Controls: handle 'timeupdate', 'play' and 'pause' via an EventListener. (Closed)
Patch Set: fix repaint test Created 4 years 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: third_party/WebKit/Source/core/html/shadow/MediaControls.h
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
index 923c6db04d7ebcbfa4d4ad45ddcc022ff67eca50..f21bf2cb3febe2a4abd30c91dfac9babde8eb25e 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -48,10 +48,6 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
void hide();
bool isVisible() const;
- void playbackStarted();
- void playbackProgressed();
- void playbackStopped();
-
void beginScrubbing();
void endScrubbing();
@@ -149,6 +145,9 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
// Methods called by MediaControlsMediaEventListener.
void onVolumeChange();
void onFocusIn();
+ void onTimeUpdate();
+ void onPlay();
+ void onPause();
Member<HTMLMediaElement> m_mediaElement;
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.cpp ('k') | third_party/WebKit/Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698