OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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.cc, browser/tab_contents/ | 8 // WebKit::WebSettings, common/render_messages.cc, browser/tab_contents/ |
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. | 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 ScriptFontFamilyMap serif_font_family_map; | 40 ScriptFontFamilyMap serif_font_family_map; |
41 ScriptFontFamilyMap sans_serif_font_family_map; | 41 ScriptFontFamilyMap sans_serif_font_family_map; |
42 ScriptFontFamilyMap cursive_font_family_map; | 42 ScriptFontFamilyMap cursive_font_family_map; |
43 ScriptFontFamilyMap fantasy_font_family_map; | 43 ScriptFontFamilyMap fantasy_font_family_map; |
44 int default_font_size; | 44 int default_font_size; |
45 int default_fixed_font_size; | 45 int default_fixed_font_size; |
46 int minimum_font_size; | 46 int minimum_font_size; |
47 int minimum_logical_font_size; | 47 int minimum_logical_font_size; |
48 int default_device_scale_factor; | 48 int default_device_scale_factor; |
49 std::string default_encoding; | 49 std::string default_encoding; |
| 50 bool apply_default_device_scale_factor_in_compositor; |
50 bool javascript_enabled; | 51 bool javascript_enabled; |
51 bool web_security_enabled; | 52 bool web_security_enabled; |
52 bool javascript_can_open_windows_automatically; | 53 bool javascript_can_open_windows_automatically; |
53 bool loads_images_automatically; | 54 bool loads_images_automatically; |
54 bool images_enabled; | 55 bool images_enabled; |
55 bool plugins_enabled; | 56 bool plugins_enabled; |
56 bool dom_paste_enabled; | 57 bool dom_paste_enabled; |
57 bool developer_extras_enabled; | 58 bool developer_extras_enabled; |
58 typedef std::vector<std::pair<std::string, std::string> > | 59 typedef std::vector<std::pair<std::string, std::string> > |
59 WebInspectorPreferences; | 60 WebInspectorPreferences; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 // the embedder to use the same default value. | 132 // the embedder to use the same default value. |
132 WebPreferences(); | 133 WebPreferences(); |
133 ~WebPreferences(); | 134 ~WebPreferences(); |
134 | 135 |
135 void Apply(WebKit::WebView* web_view) const; | 136 void Apply(WebKit::WebView* web_view) const; |
136 }; | 137 }; |
137 | 138 |
138 } // namespace webkit_glue | 139 } // namespace webkit_glue |
139 | 140 |
140 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ | 141 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ |
OLD | NEW |