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

Unified Diff: content/renderer/web_preferences.cc

Issue 167673002: Remove --disable-fullscreen switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge tot Created 6 years, 10 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 | « content/public/common/content_switches.cc ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_preferences.cc
diff --git a/content/renderer/web_preferences.cc b/content/renderer/web_preferences.cc
index 6682e6054196d0574c0ee4ba191f4fdb14075760..1649de8c26cb160eb62d5503abf6ddbe580cccce 100644
--- a/content/renderer/web_preferences.cc
+++ b/content/renderer/web_preferences.cc
@@ -285,7 +285,8 @@ void ApplyWebPreferences(const WebPreferences& prefs, WebView* web_view) {
// ChromeClient::tabsToLinks which is part of the glue code.
web_view->setTabsToLinks(prefs.tabs_to_links);
- settings->setFullScreenEnabled(prefs.fullscreen_enabled);
+ // TODO(scheib): crbug.com/344002 Remove FullScreenEnabled from Blink
+ settings->setFullScreenEnabled(true);
settings->setAllowDisplayOfInsecureContent(
prefs.allow_displaying_insecure_content);
settings->setAllowRunningOfInsecureContent(
« no previous file with comments | « content/public/common/content_switches.cc ('k') | webkit/common/webpreferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698