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

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

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « ui/gfx/display_change_notifier_unittest.cc ('k') | ui/gfx/font.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 #ifndef UI_GFX_FONT_H_ 5 #ifndef UI_GFX_FONT_H_
6 #define UI_GFX_FONT_H_ 6 #define UI_GFX_FONT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "build/build_config.h"
12 #include "ui/gfx/gfx_export.h" 13 #include "ui/gfx/gfx_export.h"
13 #include "ui/gfx/native_widget_types.h" 14 #include "ui/gfx/native_widget_types.h"
14 15
15 namespace gfx { 16 namespace gfx {
16 17
17 struct FontRenderParams; 18 struct FontRenderParams;
18 class PlatformFont; 19 class PlatformFont;
19 20
20 // Font provides a wrapper around an underlying font. Copy and assignment 21 // Font provides a wrapper around an underlying font. Copy and assignment
21 // operators are explicitly allowed, and cheap. 22 // operators are explicitly allowed, and cheap.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 PlatformFont* platform_font() const { return platform_font_.get(); } 114 PlatformFont* platform_font() const { return platform_font_.get(); }
114 115
115 private: 116 private:
116 // Wrapped platform font implementation. 117 // Wrapped platform font implementation.
117 scoped_refptr<PlatformFont> platform_font_; 118 scoped_refptr<PlatformFont> platform_font_;
118 }; 119 };
119 120
120 } // namespace gfx 121 } // namespace gfx
121 122
122 #endif // UI_GFX_FONT_H_ 123 #endif // UI_GFX_FONT_H_
OLDNEW
« no previous file with comments | « ui/gfx/display_change_notifier_unittest.cc ('k') | ui/gfx/font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698