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

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

Issue 331063006: Fix HTMLMediaElement "direction of playback" behavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 f9b89d21549268262b66a06866788587412cf8e1..884cc68136230ef2a858eccf50090f53ae50ffb4 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -447,6 +447,10 @@ private:
blink::WebMediaPlayer::CORSMode corsMode() const;
+ // Returns the "direction of playback" value as specified in the HTML5 spec.
+ enum DirectionOfPlayback { Backward, Forward };
+ DirectionOfPlayback directionOfPlayback() const;
+
// Creates placeholder AudioTrack and/or VideoTrack objects when WebMemediaPlayer objects
// advertise they have audio and/or video, but don't explicitly signal them via
// addAudioTrack() and addVideoTrack().
« no previous file with comments | « LayoutTests/media/video-seek-to-duration-with-playbackrate-zero-expected.txt ('k') | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698