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

Unified Diff: LayoutTests/media/video-play-require-user-gesture.html

Issue 23440027: Added a new runtime setting for RequireUserGestureForFullscreenRestriction. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/media/video-play-require-user-gesture.html
diff --git a/LayoutTests/media/video-play-require-user-gesture.html b/LayoutTests/media/video-play-require-user-gesture.html
index 9ebe5ea072b222eb23563a54ad0526dd4b7d1806..ce0d4e8c0c2e821b4db44a8349087c8f540abaf4 100644
--- a/LayoutTests/media/video-play-require-user-gesture.html
+++ b/LayoutTests/media/video-play-require-user-gesture.html
@@ -6,8 +6,10 @@
<script src=video-test.js></script>
<script>
var userGestureInitiated = 0;
- if (window.internals)
+ if (window.internals) {
window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
+ window.internals.settings.setMediaFullscreenRequiresUserGesture(true);
abarth-chromium 2013/09/11 18:26:51 Isn't this the default? Why do we need to set it
whywhat 2013/09/11 21:11:42 Done.
+ }
function click()
{
« no previous file with comments | « no previous file | Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698