Chromium Code Reviews| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 int32 menu_font_height; | 147 int32 menu_font_height; |
| 148 | 148 |
| 149 base::string16 status_font_family_name; | 149 base::string16 status_font_family_name; |
| 150 int32 status_font_height; | 150 int32 status_font_height; |
| 151 | 151 |
| 152 base::string16 message_font_family_name; | 152 base::string16 message_font_family_name; |
| 153 int32 message_font_height; | 153 int32 message_font_height; |
| 154 | 154 |
| 155 // Contry iso of the mobile network for content detection purpose. | 155 // Contry iso of the mobile network for content detection purpose. |
| 156 std::string network_contry_iso; | 156 std::string network_contry_iso; |
| 157 | |
| 158 // The width of a vertical scroll bar in dips. | |
|
jam
2015/04/03 15:08:19
ditto if windows only
ananta
2015/04/03 19:17:04
Put these and the font values above under an if de
| |
| 159 int32 vertical_scroll_bar_width_in_dips; | |
| 160 | |
| 161 // The height of a horizontal scroll bar in dips. | |
| 162 int32 horizontal_scroll_bar_height_in_dips; | |
| 163 | |
| 164 // The height of the arrow bitmap on a vertical scroll bar in dips. | |
| 165 int32 arrow_bitmap_height_vertical_scroll_bar_in_dips; | |
| 166 | |
| 167 // The width of the arrow bitmap on a horizontal scroll bar in dips. | |
| 168 int32 arrow_bitmap_width_horizontal_scroll_bar_in_dips; | |
| 157 }; | 169 }; |
| 158 | 170 |
| 159 } // namespace content | 171 } // namespace content |
| 160 | 172 |
| 161 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 173 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |