summaryrefslogtreecommitdiffstats
path: root/webkit/common
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 03:32:29 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-24 03:32:29 +0000
commitf5d48257a5494de109ef95ecb5b5fc5ab16aaae8 (patch)
tree19d73f19b0de54704811a80017cc0284e2e4d45e /webkit/common
parent1aa5edf4eefd4e3a8eac2fe616a485f48e532882 (diff)
downloadchromium_src-f5d48257a5494de109ef95ecb5b5fc5ab16aaae8.zip
chromium_src-f5d48257a5494de109ef95ecb5b5fc5ab16aaae8.tar.gz
chromium_src-f5d48257a5494de109ef95ecb5b5fc5ab16aaae8.tar.bz2
[Android WebView] Wire up ignoreMainFrameOverflowHiddenQuirk.
This quirk is being added in http://crrev.com/23484064/. It's to maintain compatibility with Android apps for Android SDK version <= 18. This can be removed any time after 2015. NOTRY=true BUG=295287 Review URL: https://chromiumcodereview.appspot.com/23944017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224881 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/common')
-rw-r--r--webkit/common/webpreferences.cc3
-rw-r--r--webkit/common/webpreferences.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/webkit/common/webpreferences.cc b/webkit/common/webpreferences.cc
index f37facc..8c64532 100644
--- a/webkit/common/webpreferences.cc
+++ b/webkit/common/webpreferences.cc
@@ -132,7 +132,8 @@ WebPreferences::WebPreferences()
wide_viewport_quirk(false),
use_wide_viewport(true),
viewport_meta_layout_size_quirk(false),
- viewport_meta_zero_values_quirk(false)
+ viewport_meta_zero_values_quirk(false),
+ ignore_main_frame_overflow_hidden_quirk(false)
#endif
{
standard_font_family_map[webkit_glue::kCommonScript] =
diff --git a/webkit/common/webpreferences.h b/webkit/common/webpreferences.h
index 8dcce93..bc5ee77 100644
--- a/webkit/common/webpreferences.h
+++ b/webkit/common/webpreferences.h
@@ -176,6 +176,7 @@ struct WEBKIT_COMMON_EXPORT WebPreferences {
bool use_wide_viewport;
bool viewport_meta_layout_size_quirk;
bool viewport_meta_zero_values_quirk;
+ bool ignore_main_frame_overflow_hidden_quirk;
#endif
// We try to keep the default values the same as the default values in