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

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

Issue 444173002: Let the effective media volume be 0 if the media element is muted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 4 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 8e57398939fa7621e5ae152e5d21ecdaa488dbe1..1d062560a4ca6264fc0da0b46d9157351eea507a 100644
--- a/Source/core/html/HTMLMediaElement.h
+++ b/Source/core/html/HTMLMediaElement.h
@@ -287,9 +287,8 @@ public:
void scheduleEvent(PassRefPtrWillBeRawPtr<Event>);
- // Current volume that should be used by the webMediaPlayer(). This method takes muted state
- // and m_mediaController multipliers into account.
- double playerVolume() const;
+ // Returns the "effective media volume" value as specified in the HTML5 spec.
+ double effectiveMediaVolume() const;
#if ENABLE(OILPAN)
bool isFinalizing() const { return m_isFinalizing; }

Powered by Google App Engine
This is Rietveld 408576698