summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 21:54:49 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-04 21:54:49 +0000
commit75b61bdafbb19ec3a60caee9016a4cdd7f1cba3b (patch)
tree48dda7fc8eeaf6012e9967d1e9c02e59b9f6c9c7 /chrome/browser/tab_contents
parent76edb6710c1baa00745f48bb7d19dde7999879f2 (diff)
downloadchromium_src-75b61bdafbb19ec3a60caee9016a4cdd7f1cba3b.zip
chromium_src-75b61bdafbb19ec3a60caee9016a4cdd7f1cba3b.tar.gz
chromium_src-75b61bdafbb19ec3a60caee9016a4cdd7f1cba3b.tar.bz2
Build WebKit Full Screen API. Support is disabled by default; enable with --enable-fullscreen.
Commit after WK bug 44797 (r79774). Fullscreen tests are temporarily until expectations can be updated. (Deleted test video-play-suspend.html is removed from test_expectations to fix lint errors.) BUG=16735 TEST=fullscreen layout tests Review URL: http://codereview.chromium.org/6627001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_host_delegate_helper.cc3
1 files changed, 3 insertions, 0 deletions
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 7903747..76bde5a 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;