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

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

Issue 209693003: Make mediaPlayerRequestFullscreen() user gesture bypass explicit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 c00c6a96e351f1e19d7339e058e0815e568b09d2..308c3a666dba557b1718fb947ff9b1c8b3a85d45 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -86,6 +86,7 @@
#include "core/html/HTMLContentElement.h"
#include "core/html/HTMLIFrameElement.h"
#include "core/html/HTMLInputElement.h"
+#include "core/html/HTMLMediaElement.h"
#include "core/html/HTMLSelectElement.h"
#include "core/html/HTMLTextAreaElement.h"
#include "core/html/forms/FormController.h"
@@ -2054,6 +2055,11 @@ void Internals::webkitDidExitFullScreenForElement(Document* document, Element* e
FullscreenElementStack::from(*document).webkitDidExitFullScreenForElement(element);
}
+void Internals::mediaPlayerRequestFullscreen(HTMLMediaElement* mediaElement)
+{
+ mediaElement->mediaPlayerRequestFullscreen();
+}
+
void Internals::registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme)
{
SchemeRegistry::registerURLSchemeAsBypassingContentSecurityPolicy(scheme);

Powered by Google App Engine
This is Rietveld 408576698