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

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: minor decrufting. 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 97c67e97f9681154bdc4bcdccef101d4a03609bd..652560c98150c7e003a171f468e07b3aec0f589b 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