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

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

Issue 10540038: linux: Pass subpixel positioning setting to WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.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 bool should_antialias_text; 47 bool should_antialias_text;
48 48
49 // The level of hinting to use when rendering text. 49 // The level of hinting to use when rendering text.
50 // Currently only used by Linux. 50 // Currently only used by Linux.
51 RendererPreferencesHintingEnum hinting; 51 RendererPreferencesHintingEnum hinting;
52 52
53 // The type of subpixel rendering to use for text. 53 // The type of subpixel rendering to use for text.
54 // Currently only used by Linux. 54 // Currently only used by Linux.
55 RendererPreferencesSubpixelRenderingEnum subpixel_rendering; 55 RendererPreferencesSubpixelRenderingEnum subpixel_rendering;
56 56
57 // Whether subpixel positioning should be used, permitting fractional X
58 // positions for glyphs. Currently only used by Linux.
59 bool use_subpixel_positioning;
60
57 // The color of the focus ring. Currently only used on Linux. 61 // The color of the focus ring. Currently only used on Linux.
58 SkColor focus_ring_color; 62 SkColor focus_ring_color;
59 63
60 // The color of different parts of the scrollbar. Currently only used on 64 // The color of different parts of the scrollbar. Currently only used on
61 // Linux. 65 // Linux.
62 SkColor thumb_active_color; 66 SkColor thumb_active_color;
63 SkColor thumb_inactive_color; 67 SkColor thumb_inactive_color;
64 SkColor track_color; 68 SkColor track_color;
65 69
66 // The colors used in selection text. Currently only used on Linux. 70 // The colors used in selection text. Currently only used on Linux.
(...skipping 16 matching lines...) Expand all
83 // Set to false to not send referrers. 87 // Set to false to not send referrers.
84 bool enable_referrers; 88 bool enable_referrers;
85 89
86 // Default page zoom level. 90 // Default page zoom level.
87 double default_zoom_level; 91 double default_zoom_level;
88 }; 92 };
89 93
90 } // namespace content 94 } // namespace content
91 95
92 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 96 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/renderer_preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698