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 browser's settings that apply to the renderer or its | 5 // A struct for managing browser's settings that apply to the renderer or its |
6 // webview. These differ from WebPreferences since they apply to Chromium's | 6 // webview. These differ from WebPreferences since they apply to Chromium's |
7 // glue layer rather than applying to just WebKit. | 7 // glue layer rather than applying to just WebKit. |
8 // | 8 // |
9 // Adding new values to this class probably involves updating | 9 // Adding new values to this class probably involves updating |
10 // common/view_messages.h, browser/browser.cc, etc. | 10 // common/view_messages.h, browser/browser.cc, etc. |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // Determines whether plugins are allowed to enter fullscreen mode. | 132 // Determines whether plugins are allowed to enter fullscreen mode. |
133 bool plugin_fullscreen_allowed; | 133 bool plugin_fullscreen_allowed; |
134 | 134 |
135 // Whether video-overlay (hole-punching) should be used for the embedded | 135 // Whether video-overlay (hole-punching) should be used for the embedded |
136 // encrypted video. Currently only used by Android. | 136 // encrypted video. Currently only used by Android. |
137 bool use_video_overlay_for_embedded_encrypted_video; | 137 bool use_video_overlay_for_embedded_encrypted_video; |
138 | 138 |
139 // Country iso of the mobile network for content detection purpose. | 139 // Country iso of the mobile network for content detection purpose. |
140 std::string network_contry_iso; | 140 std::string network_contry_iso; |
141 | 141 |
| 142 #if defined(OS_LINUX) |
| 143 std::string system_font_family_name; |
| 144 #endif |
| 145 |
142 #if defined(OS_WIN) | 146 #if defined(OS_WIN) |
143 // The default system font settings for caption, small caption, menu and | 147 // The default system font settings for caption, small caption, menu and |
144 // status messages. Used only by Windows. | 148 // status messages. Used only by Windows. |
145 base::string16 caption_font_family_name; | 149 base::string16 caption_font_family_name; |
146 int32_t caption_font_height; | 150 int32_t caption_font_height; |
147 | 151 |
148 base::string16 small_caption_font_family_name; | 152 base::string16 small_caption_font_family_name; |
149 int32_t small_caption_font_height; | 153 int32_t small_caption_font_height; |
150 | 154 |
151 base::string16 menu_font_family_name; | 155 base::string16 menu_font_family_name; |
(...skipping 18 matching lines...) Expand all Loading... |
170 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; | 174 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; |
171 #endif | 175 #endif |
172 | 176 |
173 // The default font size used for rendering on Linux. | 177 // The default font size used for rendering on Linux. |
174 int default_font_size; | 178 int default_font_size; |
175 }; | 179 }; |
176 | 180 |
177 } // namespace content | 181 } // namespace content |
178 | 182 |
179 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 183 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |