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

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

Issue 10544103: Chromium change of sharing some WebKit API between Android/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 8 years, 5 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/content_renderer.gypi ('k') | content/renderer/render_view_impl.h » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 bool can_accept_load_drops; 45 bool can_accept_load_drops;
46 46
47 // Whether text should be antialiased. 47 // Whether text should be antialiased.
48 // Currently only used by Linux. 48 // Currently only used by Linux.
49 bool should_antialias_text; 49 bool should_antialias_text;
50 50
51 // The level of hinting to use when rendering text. 51 // The level of hinting to use when rendering text.
52 // Currently only used by Linux. 52 // Currently only used by Linux.
53 RendererPreferencesHintingEnum hinting; 53 RendererPreferencesHintingEnum hinting;
54 54
55 // Whether auto hinter should be used. Currently only used by Linux.
56 bool use_autohinter;
57
58 // Whether embedded bitmap strikes in fonts should be used.
59 // Current only used by Linux.
60 bool use_bitmaps;
61
55 // The type of subpixel rendering to use for text. 62 // The type of subpixel rendering to use for text.
56 // Currently only used by Linux. 63 // Currently only used by Linux.
57 RendererPreferencesSubpixelRenderingEnum subpixel_rendering; 64 RendererPreferencesSubpixelRenderingEnum subpixel_rendering;
58 65
59 // Whether subpixel positioning should be used, permitting fractional X 66 // Whether subpixel positioning should be used, permitting fractional X
60 // positions for glyphs. Currently only used by Linux. 67 // positions for glyphs. Currently only used by Linux.
61 bool use_subpixel_positioning; 68 bool use_subpixel_positioning;
62 69
63 // The color of the focus ring. Currently only used on Linux. 70 // The color of the focus ring. Currently only used on Linux.
64 SkColor focus_ring_color; 71 SkColor focus_ring_color;
(...skipping 28 matching lines...) Expand all
93 double default_zoom_level; 100 double default_zoom_level;
94 101
95 // The user agent given to WebKit when it requests one and the user agent is 102 // The user agent given to WebKit when it requests one and the user agent is
96 // being overridden for the current navigation. 103 // being overridden for the current navigation.
97 std::string user_agent_override; 104 std::string user_agent_override;
98 }; 105 };
99 106
100 } // namespace content 107 } // namespace content
101 108
102 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 109 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698