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

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

Issue 208483002: Implement the activation behavior of media elements (click to play/pause) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cancel activation behavior in a failing fullscreen test 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
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index ec8a1d081d7edef1286e83278894c8302e97ac50..36be90a0fbba902aeaca8dea4e8a3713c27624ce 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -162,6 +162,8 @@ public:
virtual bool canPlay() const OVERRIDE FINAL;
+ void togglePlayState();
+
PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicString& label, const AtomicString& language, ExceptionState&);
PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, const AtomicString& label, ExceptionState& exceptionState) { return addTextTrack(kind, label, emptyAtom, exceptionState); }
PassRefPtr<TextTrack> addTextTrack(const AtomicString& kind, ExceptionState& exceptionState) { return addTextTrack(kind, emptyAtom, emptyAtom, exceptionState); }
@@ -403,7 +405,9 @@ private:
void prepareMediaFragmentURI();
void applyMediaFragmentURI();
+ virtual bool willRespondToMouseClickEvents() OVERRIDE FINAL;
virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL;
+ virtual void defaultEventHandler(Event*) OVERRIDE FINAL;
void changeNetworkStateFromLoadingToIdle();
« no previous file with comments | « LayoutTests/media/video-click-dblckick-standalone-expected.txt ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698