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

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

Issue 1156993013: New media playback UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed my own broken unit test. They really work! Created 5 years, 5 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 3e5074860805fa5174536259abad2727578d82bb..f309af16ec40e6b3e069632c964a05dad4b6f5d7 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1861,6 +1861,12 @@ void Internals::mediaPlayerPlayingRemotelyChanged(HTMLMediaElement* mediaElement
mediaElement->disconnectedFromRemoteDevice();
}
+void Internals::setAllowHiddenAudioElements(HTMLMediaElement* mediaElement, bool allow)
+{
+ ASSERT(mediaElement);
+ mediaElement->setAllowHiddenAudioElements(allow);
+}
+
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
{
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);

Powered by Google App Engine
This is Rietveld 408576698