summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webpreferences.h
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:19:41 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-01 21:19:41 +0000
commit7c03692a1fce73101c9943549419c4bc3da38afc (patch)
tree03465fa1f155bc7aa3ef216df75f69184c5ca56b /webkit/glue/webpreferences.h
parent4110be3441ef9666b83842cf746903151165dba2 (diff)
downloadchromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.zip
chromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.tar.gz
chromium_src-7c03692a1fce73101c9943549419c4bc3da38afc.tar.bz2
Adds --html5-parser flag to test_shell to test out the new HTML5 parsing code
This mirrors the same flag present in DumpRenderTree. TEST=none BUG=none Review URL: http://codereview.chromium.org/2477002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48661 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webpreferences.h')
-rwxr-xr-xwebkit/glue/webpreferences.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/glue/webpreferences.h b/webkit/glue/webpreferences.h
index b34f938..ef4ec2b 100755
--- a/webkit/glue/webpreferences.h
+++ b/webkit/glue/webpreferences.h
@@ -63,6 +63,7 @@ struct WebPreferences {
bool allow_file_access_from_file_urls;
bool experimental_webgl_enabled;
bool show_composited_layer_borders;
+ bool enable_html5_parser;
// We try to keep the default values the same as the default values in
// chrome, except for the cases where it would require lots of extra work for
@@ -105,7 +106,8 @@ struct WebPreferences {
allow_universal_access_from_file_urls(false),
allow_file_access_from_file_urls(false),
experimental_webgl_enabled(false),
- show_composited_layer_borders(false) {
+ show_composited_layer_borders(false),
+ enable_html5_parser(false) {
}
void Apply(WebKit::WebView* web_view) const;