summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.cc
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 /webkit/glue/webpreferences.cc
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 'webkit/glue/webpreferences.cc')
-rw-r--r--webkit/glue/webpreferences.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index 252b83d..0edac2f 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -72,7 +72,8 @@ WebPreferences::WebPreferences()
accelerated_2d_canvas_enabled(false),
accelerated_plugins_enabled(false),
memory_info_enabled(false),
- interactive_form_validation_enabled(true) {
+ interactive_form_validation_enabled(true),
+ fullscreen_enabled(false) {
}
WebPreferences::~WebPreferences() {
@@ -205,4 +206,6 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setInteractiveFormValidationEnabled(
interactive_form_validation_enabled);
+
+ settings->setFullScreenEnabled(fullscreen_enabled);
}