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

Side by Side Diff: ui/gfx/font_list.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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 | « ui/gfx/font.h ('k') | ui/gfx/font_render_params_linux.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 #ifndef UI_GFX_FONT_LIST_H_ 5 #ifndef UI_GFX_FONT_LIST_H_
6 #define UI_GFX_FONT_LIST_H_ 6 #define UI_GFX_FONT_LIST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ui/base/ui_export.h"
12 #include "ui/gfx/font.h" 11 #include "ui/gfx/font.h"
12 #include "ui/gfx/gfx_export.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 // FontList represents a list of fonts either in the form of Font vector or in 16 // FontList represents a list of fonts either in the form of Font vector or in
17 // the form of a string representing font names, styles, and size. 17 // the form of a string representing font names, styles, and size.
18 // 18 //
19 // The string representation is in the form "FAMILY_LIST [STYLE_OPTIONS] SIZE", 19 // The string representation is in the form "FAMILY_LIST [STYLE_OPTIONS] SIZE",
20 // where FAMILY_LIST is a comma separated list of families terminated by a 20 // where FAMILY_LIST is a comma separated list of families terminated by a
21 // comma, STYLE_OPTIONS is a whitespace separated list of words where each word 21 // comma, STYLE_OPTIONS is a whitespace separated list of words where each word
22 // describes one of style, variant, weight, stretch, or gravity, and SIZE is 22 // describes one of style, variant, weight, stretch, or gravity, and SIZE is
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 mutable int common_baseline_; 132 mutable int common_baseline_;
133 133
134 // Cached font style and size. 134 // Cached font style and size.
135 mutable int font_style_; 135 mutable int font_style_;
136 mutable int font_size_; 136 mutable int font_size_;
137 }; 137 };
138 138
139 } // namespace gfx 139 } // namespace gfx
140 140
141 #endif // UI_GFX_FONT_LIST_H_ 141 #endif // UI_GFX_FONT_LIST_H_
OLDNEW
« no previous file with comments | « ui/gfx/font.h ('k') | ui/gfx/font_render_params_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698