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-02 22:22:48 +0000
committerddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 22:22:48 +0000
commit15e9adfc964aed111bb25bf994a1b837c8e4eea5 (patch)
tree5c2dc7e0be6cb18b0e416acf7f1c75cbaaef4f9b /webkit/glue/webpreferences.cc
parent967d18bad65a0dc0cf8d0207cbd2cf82651752b8 (diff)
downloadchromium_src-15e9adfc964aed111bb25bf994a1b837c8e4eea5.zip
chromium_src-15e9adfc964aed111bb25bf994a1b837c8e4eea5.tar.gz
chromium_src-15e9adfc964aed111bb25bf994a1b837c8e4eea5.tar.bz2
Re-applying r76324, which was reverted during a WebKit rollback.
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 Review URL: http://codereview.chromium.org/6597112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76631 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);
}