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

Unified Diff: content/renderer/web_preferences.cc

Issue 212133003: Stop using the mediaFullscreenRequiresUserGesture setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: content/renderer/web_preferences.cc
diff --git a/content/renderer/web_preferences.cc b/content/renderer/web_preferences.cc
index a188af23f45dc6301f54be3928c123db134428df..3555116d7bb5dda38a68046bcb7fbe551354fac3 100644
--- a/content/renderer/web_preferences.cc
+++ b/content/renderer/web_preferences.cc
@@ -325,8 +325,6 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) {
settings->setDoubleTapToZoomEnabled(prefs.double_tap_to_zoom_enabled);
settings->setMediaPlaybackRequiresUserGesture(
prefs.user_gesture_required_for_media_playback);
- settings->setMediaFullscreenRequiresUserGesture(
- prefs.user_gesture_required_for_media_fullscreen);
settings->setDefaultVideoPosterURL(
base::ASCIIToUTF16(prefs.default_video_poster_url.spec()));
settings->setSupportDeprecatedTargetDensityDPI(

Powered by Google App Engine
This is Rietveld 408576698