| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 gfx::FontRenderParams::Hinting hinting; | 47 gfx::FontRenderParams::Hinting hinting; |
| 48 | 48 |
| 49 // Whether auto hinter should be used. Currently only used by Linux. | 49 // Whether auto hinter should be used. Currently only used by Linux. |
| 50 bool use_autohinter; | 50 bool use_autohinter; |
| 51 | 51 |
| 52 // Whether embedded bitmap strikes in fonts should be used. | 52 // Whether embedded bitmap strikes in fonts should be used. |
| 53 // Current only used by Linux. | 53 // Current only used by Linux. |
| 54 bool use_bitmaps; | 54 bool use_bitmaps; |
| 55 | 55 |
| 56 // The type of subpixel rendering to use for text. | 56 // The type of subpixel rendering to use for text. |
| 57 // Currently only used by Linux. | 57 // Currently only used by Linux and Windows. |
| 58 gfx::FontRenderParams::SubpixelRendering subpixel_rendering; | 58 gfx::FontRenderParams::SubpixelRendering subpixel_rendering; |
| 59 | 59 |
| 60 // Whether subpixel positioning should be used, permitting fractional X | 60 // Whether subpixel positioning should be used, permitting fractional X |
| 61 // positions for glyphs. Currently only used by Linux. | 61 // positions for glyphs. Currently only used by Linux. |
| 62 bool use_subpixel_positioning; | 62 bool use_subpixel_positioning; |
| 63 | 63 |
| 64 // The color of the focus ring. Currently only used on Linux. | 64 // The color of the focus ring. Currently only used on Linux. |
| 65 SkColor focus_ring_color; | 65 SkColor focus_ring_color; |
| 66 | 66 |
| 67 // The color of different parts of the scrollbar. Currently only used on | 67 // The color of different parts of the scrollbar. Currently only used on |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 155 |
| 156 } // namespace content | 156 } // namespace content |
| 157 | 157 |
| 158 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ | 158 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ |
| OLD | NEW |