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

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

Issue 6246027: Move src/gfx/ to src/ui/gfx... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/platform_font_gtk.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 GFX_PLATFORM_FONT_MAC_ 5 #ifndef UI_GFX_PLATFORM_FONT_MAC_
6 #define GFX_PLATFORM_FONT_MAC_ 6 #define UI_GFX_PLATFORM_FONT_MAC_
7 #pragma once 7 #pragma once
8 8
9 #include "gfx/platform_font.h" 9 #include "gfx/platform_font.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 class PlatformFontMac : public PlatformFont { 13 class PlatformFontMac : public PlatformFont {
14 public: 14 public:
15 PlatformFontMac(); 15 PlatformFontMac();
16 explicit PlatformFontMac(const Font& other); 16 explicit PlatformFontMac(const Font& other);
(...skipping 30 matching lines...) Expand all
47 int style_; 47 int style_;
48 48
49 // Cached metrics, generated at construction 49 // Cached metrics, generated at construction
50 int height_; 50 int height_;
51 int ascent_; 51 int ascent_;
52 int average_width_; 52 int average_width_;
53 }; 53 };
54 54
55 } // namespace gfx 55 } // namespace gfx
56 56
57 #endif // GFX_PLATFORM_FONT_MAC_ 57 #endif // UI_GFX_PLATFORM_FONT_MAC_
OLDNEW
« no previous file with comments | « ui/gfx/platform_font_gtk.cc ('k') | ui/gfx/platform_font_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698