Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: content/public/common/renderer_preferences.h

Issue 1021643002: Retrieve and pass subpixel lcd geometry on windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/renderer_preferences_util.cc ('k') | content/renderer/render_view_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_preferences_util.cc ('k') | content/renderer/render_view_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698