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

Side by Side Diff: ui/gfx/platform_font_mac.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 5 years 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/platform_font_linux_unittest.cc ('k') | ui/gfx/platform_font_mac.mm » ('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_PLATFORM_FONT_MAC_H_ 5 #ifndef UI_GFX_PLATFORM_FONT_MAC_H_
6 #define UI_GFX_PLATFORM_FONT_MAC_H_ 6 #define UI_GFX_PLATFORM_FONT_MAC_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/mac/scoped_nsobject.h" 9 #include "base/mac/scoped_nsobject.h"
10 #include "base/macros.h"
10 #include "ui/gfx/font_render_params.h" 11 #include "ui/gfx/font_render_params.h"
11 #include "ui/gfx/platform_font.h" 12 #include "ui/gfx/platform_font.h"
12 13
13 namespace gfx { 14 namespace gfx {
14 15
15 class PlatformFontMac : public PlatformFont { 16 class PlatformFontMac : public PlatformFont {
16 public: 17 public:
17 PlatformFontMac(); 18 PlatformFontMac();
18 explicit PlatformFontMac(NativeFont native_font); 19 explicit PlatformFontMac(NativeFont native_font);
19 PlatformFontMac(const std::string& font_name, 20 PlatformFontMac(const std::string& font_name,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 60
60 // Details about how the font should be rendered. 61 // Details about how the font should be rendered.
61 FontRenderParams render_params_; 62 FontRenderParams render_params_;
62 63
63 DISALLOW_COPY_AND_ASSIGN(PlatformFontMac); 64 DISALLOW_COPY_AND_ASSIGN(PlatformFontMac);
64 }; 65 };
65 66
66 } // namespace gfx 67 } // namespace gfx
67 68
68 #endif // UI_GFX_PLATFORM_FONT_MAC_H_ 69 #endif // UI_GFX_PLATFORM_FONT_MAC_H_
OLDNEW
« no previous file with comments | « ui/gfx/platform_font_linux_unittest.cc ('k') | ui/gfx/platform_font_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698