OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 6 #define CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ScriptFontFamilyMap serif_font_family_map; | 76 ScriptFontFamilyMap serif_font_family_map; |
77 ScriptFontFamilyMap sans_serif_font_family_map; | 77 ScriptFontFamilyMap sans_serif_font_family_map; |
78 ScriptFontFamilyMap cursive_font_family_map; | 78 ScriptFontFamilyMap cursive_font_family_map; |
79 ScriptFontFamilyMap fantasy_font_family_map; | 79 ScriptFontFamilyMap fantasy_font_family_map; |
80 ScriptFontFamilyMap pictograph_font_family_map; | 80 ScriptFontFamilyMap pictograph_font_family_map; |
81 int default_font_size; | 81 int default_font_size; |
82 int default_fixed_font_size; | 82 int default_fixed_font_size; |
83 int minimum_font_size; | 83 int minimum_font_size; |
84 int minimum_logical_font_size; | 84 int minimum_logical_font_size; |
85 std::string default_encoding; | 85 std::string default_encoding; |
| 86 bool context_menu_on_mouse_up; |
86 bool javascript_enabled; | 87 bool javascript_enabled; |
87 bool web_security_enabled; | 88 bool web_security_enabled; |
88 bool javascript_can_open_windows_automatically; | 89 bool javascript_can_open_windows_automatically; |
89 bool loads_images_automatically; | 90 bool loads_images_automatically; |
90 bool images_enabled; | 91 bool images_enabled; |
91 bool plugins_enabled; | 92 bool plugins_enabled; |
92 bool dom_paste_enabled; | 93 bool dom_paste_enabled; |
93 bool shrinks_standalone_images_to_fit; | 94 bool shrinks_standalone_images_to_fit; |
94 bool uses_universal_detector; | 95 bool uses_universal_detector; |
95 bool text_areas_are_resizable; | 96 bool text_areas_are_resizable; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 // We try to keep the default values the same as the default values in | 230 // We try to keep the default values the same as the default values in |
230 // chrome, except for the cases where it would require lots of extra work for | 231 // chrome, except for the cases where it would require lots of extra work for |
231 // the embedder to use the same default value. | 232 // the embedder to use the same default value. |
232 WebPreferences(); | 233 WebPreferences(); |
233 ~WebPreferences(); | 234 ~WebPreferences(); |
234 }; | 235 }; |
235 | 236 |
236 } // namespace content | 237 } // namespace content |
237 | 238 |
238 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ | 239 #endif // CONTENT_PUBLIC_COMMON_WEB_PREFERENCES_H_ |
OLD | NEW |