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

Unified Diff: content/renderer/render_view_impl.cc

Issue 618013003: Support fullscreen for non-video elements in the WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactorFullscreenNonMedia
Patch Set: Rebase Created 6 years, 2 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/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index be5a88bed70820cb9dfd0f0a33370cebf5c21a68..f17f982e43a096992f3ded4877e188a4fc469c6e 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1075,8 +1075,6 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setTextAutosizingEnabled(prefs.text_autosizing_enabled);
settings->setAccessibilityFontScaleFactor(prefs.font_scale_factor);
settings->setDeviceScaleAdjustment(prefs.device_scale_adjustment);
- settings->setDisallowFullscreenForNonMediaElements(
- prefs.disallow_fullscreen_for_non_media_elements);
settings->setFullscreenSupported(prefs.fullscreen_supported);
web_view->setIgnoreViewportTagScaleLimits(prefs.force_enable_zoom);
settings->setAutoZoomFocusedNodeToLegibleScale(true);

Powered by Google App Engine
This is Rietveld 408576698