From 7c03692a1fce73101c9943549419c4bc3da38afc Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Tue, 1 Jun 2010 21:19:41 +0000 Subject: 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 --- webkit/glue/webpreferences.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'webkit/glue/webpreferences.h') 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; -- cgit v1.1