Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
index 79037472fdc657e92066f4c4dda3c5955ab8afad..76bde5a90d8d4bc51dc9f3754147ec703547a6ae 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -305,6 +305,9 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
!command_line.HasSwitch(switches::kNoPings); |
web_prefs.interactive_form_validation_enabled = |
!command_line.HasSwitch(switches::kDisableInteractiveFormValidation); |
+ web_prefs.fullscreen_enabled = |
+ command_line.HasSwitch(switches::kEnableFullScreen); |
+ |
// The user stylesheet watcher may not exist in a testing profile. |
if (profile->GetUserStyleSheetWatcher()) { |
web_prefs.user_style_sheet_enabled = true; |