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

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

Issue 9595005: ui/gfx: Remove an unnecessary include from font_list.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h"
13 #include "ui/base/ui_export.h" 12 #include "ui/base/ui_export.h"
14 #include "ui/gfx/font.h" 13 #include "ui/gfx/font.h"
15 14
16 namespace gfx { 15 namespace gfx {
17 16
18 // FontList represents a list of fonts either in the form of Font vector or in 17 // FontList represents a list of fonts either in the form of Font vector or in
19 // the form of a string representing font names, styles, and size. 18 // the form of a string representing font names, styles, and size.
20 // 19 //
21 // The string representation is in the form "FAMILY_LIST [STYLE_OPTIONS] SIZE", 20 // The string representation is in the form "FAMILY_LIST [STYLE_OPTIONS] SIZE",
22 // where FAMILY_LIST is a comma separated list of families terminated by a 21 // where FAMILY_LIST is a comma separated list of families terminated by a
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // format. 80 // format.
82 // If FontList is constructed with a vector of font, 81 // If FontList is constructed with a vector of font,
83 // |font_description_string_| is not initialized during construction. Instead, 82 // |font_description_string_| is not initialized during construction. Instead,
84 // it is computed lazily when user asked to get the font description string. 83 // it is computed lazily when user asked to get the font description string.
85 mutable std::string font_description_string_; 84 mutable std::string font_description_string_;
86 }; 85 };
87 86
88 } // namespace gfx 87 } // namespace gfx
89 88
90 #endif // UI_GFX_FONT_LIST_H_ 89 #endif // UI_GFX_FONT_LIST_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698