summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 20:43:50 +0000
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-25 20:43:50 +0000
commit6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c (patch)
treedeebf83cadf46bf317edb6f4b091f951ce7ed92f /chrome/common/render_messages.h
parent8395110bf6ef9bb74b27b7340561f0a96fc7b010 (diff)
downloadchromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.zip
chromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.tar.gz
chromium_src-6e5d4215eb1b7e736d6e53d9283074acfaf3bf9c.tar.bz2
Plumb through site-specific quirks setting with a command line switch.
Quirks are enabled by default. R=darin BUG=19586 TEST=wikileaks.org should now have its sidebar in the proper place. Review URL: http://codereview.chromium.org/442010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index b6ccc67..f960d65 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1614,6 +1614,7 @@ struct ParamTraits<WebPreferences> {
WriteParam(m, p.dom_paste_enabled);
WriteParam(m, p.developer_extras_enabled);
WriteParam(m, p.inspector_settings);
+ WriteParam(m, p.site_specific_quirks_enabled);
WriteParam(m, p.shrinks_standalone_images_to_fit);
WriteParam(m, p.uses_universal_detector);
WriteParam(m, p.text_areas_are_resizable);
@@ -1652,6 +1653,7 @@ struct ParamTraits<WebPreferences> {
ReadParam(m, iter, &p->dom_paste_enabled) &&
ReadParam(m, iter, &p->developer_extras_enabled) &&
ReadParam(m, iter, &p->inspector_settings) &&
+ ReadParam(m, iter, &p->site_specific_quirks_enabled) &&
ReadParam(m, iter, &p->shrinks_standalone_images_to_fit) &&
ReadParam(m, iter, &p->uses_universal_detector) &&
ReadParam(m, iter, &p->text_areas_are_resizable) &&