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

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

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: jochen review nit (add braces) Created 4 years, 1 month 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 | « content/common/view_messages.h ('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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // Determines whether plugins are allowed to enter fullscreen mode. 132 // Determines whether plugins are allowed to enter fullscreen mode.
133 bool plugin_fullscreen_allowed; 133 bool plugin_fullscreen_allowed;
134 134
135 // Whether video-overlay (hole-punching) should be used for the embedded 135 // Whether video-overlay (hole-punching) should be used for the embedded
136 // encrypted video. Currently only used by Android. 136 // encrypted video. Currently only used by Android.
137 bool use_video_overlay_for_embedded_encrypted_video; 137 bool use_video_overlay_for_embedded_encrypted_video;
138 138
139 // Country iso of the mobile network for content detection purpose. 139 // Country iso of the mobile network for content detection purpose.
140 std::string network_contry_iso; 140 std::string network_contry_iso;
141 141
142 #if defined(OS_LINUX)
143 std::string system_font_family_name;
144 #endif
145
142 #if defined(OS_WIN) 146 #if defined(OS_WIN)
143 // The default system font settings for caption, small caption, menu and 147 // The default system font settings for caption, small caption, menu and
144 // status messages. Used only by Windows. 148 // status messages. Used only by Windows.
145 base::string16 caption_font_family_name; 149 base::string16 caption_font_family_name;
146 int32_t caption_font_height; 150 int32_t caption_font_height;
147 151
148 base::string16 small_caption_font_family_name; 152 base::string16 small_caption_font_family_name;
149 int32_t small_caption_font_height; 153 int32_t small_caption_font_height;
150 154
151 base::string16 menu_font_family_name; 155 base::string16 menu_font_family_name;
(...skipping 18 matching lines...) Expand all
170 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips; 174 int32_t arrow_bitmap_width_horizontal_scroll_bar_in_dips;
171 #endif 175 #endif
172 176
173 // The default font size used for rendering on Linux. 177 // The default font size used for rendering on Linux.
174 int default_font_size; 178 int default_font_size;
175 }; 179 };
176 180
177 } // namespace content 181 } // namespace content
178 182
179 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_ 183 #endif // CONTENT_PUBLIC_COMMON_RENDERER_PREFERENCES_H_
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698