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

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

Issue 898883003: Fixes play seek when user sets loop after ended. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor cleanup Created 5 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
Index: Source/core/html/HTMLMediaElement.h
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
index 6f539a0bd30757c50c9e939d57f7547960ee2ceb..b8d04f76a5b2ebbdcc04594dd15788b11cc5e937 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -412,6 +412,7 @@ private:
void updatePlayState();
bool potentiallyPlaying() const;
bool endedPlayback() const;
wolenetz 2015/02/12 22:12:27 There are only a few calls to this method. I'm not
chcunningham 2015/02/13 03:37:29 For me its less about the convenience, more about
fs 2015/02/13 11:49:22 It's fairly common in Blink to use default argumen
wolenetz 2015/02/13 22:24:23 Good points. I would prefer default argument, with
chcunningham 2015/02/13 23:01:43 Acknowledged.
chcunningham 2015/02/13 23:01:43 Done.
+ bool endedPlayback(bool ignoreLoopAttr) const;
bool stoppedDueToErrors() const;
bool couldPlayIfEnoughData() const;

Powered by Google App Engine
This is Rietveld 408576698