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

Unified Diff: Source/core/testing/Internals.cpp

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/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index 9a465c66c2b3bf8558ec55acef60895fe7820d7d..4445e16ddabe4981f44c797fa74f9ea2bbcdfb86 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1797,6 +1797,11 @@ void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
mediaElement->mediaPlayerRequestFullscreen();
}
+double Internals::effectiveMediaVolume(HTMLMediaElement* mediaElement)
+{
+ return mediaElement->effectiveMediaVolume();
+}
+
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
{
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);

Powered by Google App Engine
This is Rietveld 408576698