Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: webkit/glue/webpreferences.h

Issue 3157038: Remove reference to obsolete web preference. The legacy parser no longer... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/webpreferences.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // A struct for managing webkit's settings. 5 // A struct for managing webkit's settings.
6 // 6 //
7 // Adding new values to this class probably involves updating 7 // Adding new values to this class probably involves updating
8 // WebKit::WebSettings, common/render_messages.h, and 8 // WebKit::WebSettings, common/render_messages.h, and
9 // browser/profile.cc. 9 // browser/profile.cc.
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 bool user_style_sheet_enabled; 59 bool user_style_sheet_enabled;
60 GURL user_style_sheet_location; 60 GURL user_style_sheet_location;
61 bool author_and_user_styles_enabled; 61 bool author_and_user_styles_enabled;
62 bool allow_universal_access_from_file_urls; 62 bool allow_universal_access_from_file_urls;
63 bool allow_file_access_from_file_urls; 63 bool allow_file_access_from_file_urls;
64 bool experimental_webgl_enabled; 64 bool experimental_webgl_enabled;
65 bool show_composited_layer_borders; 65 bool show_composited_layer_borders;
66 bool accelerated_compositing_enabled; 66 bool accelerated_compositing_enabled;
67 bool accelerated_2d_canvas_enabled; 67 bool accelerated_2d_canvas_enabled;
68 bool enable_html5_parser;
69 bool memory_info_enabled; 68 bool memory_info_enabled;
70 69
71 // We try to keep the default values the same as the default values in 70 // We try to keep the default values the same as the default values in
72 // chrome, except for the cases where it would require lots of extra work for 71 // chrome, except for the cases where it would require lots of extra work for
73 // the embedder to use the same default value. 72 // the embedder to use the same default value.
74 WebPreferences() 73 WebPreferences()
75 : standard_font_family(L"Times New Roman"), 74 : standard_font_family(L"Times New Roman"),
76 fixed_font_family(L"Courier New"), 75 fixed_font_family(L"Courier New"),
77 serif_font_family(L"Times New Roman"), 76 serif_font_family(L"Times New Roman"),
78 sans_serif_font_family(L"Arial"), 77 sans_serif_font_family(L"Arial"),
(...skipping 26 matching lines...) Expand all
105 application_cache_enabled(false), 104 application_cache_enabled(false),
106 tabs_to_links(true), 105 tabs_to_links(true),
107 user_style_sheet_enabled(false), 106 user_style_sheet_enabled(false),
108 author_and_user_styles_enabled(true), 107 author_and_user_styles_enabled(true),
109 allow_universal_access_from_file_urls(false), 108 allow_universal_access_from_file_urls(false),
110 allow_file_access_from_file_urls(false), 109 allow_file_access_from_file_urls(false),
111 experimental_webgl_enabled(false), 110 experimental_webgl_enabled(false),
112 show_composited_layer_borders(false), 111 show_composited_layer_borders(false),
113 accelerated_compositing_enabled(false), 112 accelerated_compositing_enabled(false),
114 accelerated_2d_canvas_enabled(false), 113 accelerated_2d_canvas_enabled(false),
115 enable_html5_parser(true),
116 memory_info_enabled(false) { 114 memory_info_enabled(false) {
117 } 115 }
118 116
119 void Apply(WebKit::WebView* web_view) const; 117 void Apply(WebKit::WebView* web_view) const;
120 }; 118 };
121 119
122 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 120 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/webpreferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698