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-01 00:33:19 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 00:33:19 +0000
commit2a57a88d5599ce9fb8b007a55e6c621b3072260f (patch)
tree40cba4e078ea1a3b853a4eb28e65842d7c33f725 /webkit/glue/webpreferences.cc
parent3219cf90ca3df95fbb513ea8ff0210b713c49220 (diff)
downloadchromium_src-2a57a88d5599ce9fb8b007a55e6c621b3072260f.zip
chromium_src-2a57a88d5599ce9fb8b007a55e6c621b3072260f.tar.gz
chromium_src-2a57a88d5599ce9fb8b007a55e6c621b3072260f.tar.bz2
Build WebKit Full Screen API. Support is disabled by default; enable with --enable-fullscreen.
Commit after WK bug 44797 (r79774). BUG=16735 TEST=fullscreen layout tests. Review URL: http://codereview.chromium.org/6576004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76324 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);
}