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

Side by Side Diff: gfx/font.h

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | « gfx/canvas_win.cc ('k') | gfx/font_gtk.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 APP_GFX_FONT_H_ 5 #ifndef GFX_FONT_H_
6 #define APP_GFX_FONT_H_ 6 #define GFX_FONT_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <string> 10 #include <string>
11 11
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 typedef struct HFONT__* HFONT; 13 typedef struct HFONT__* HFONT;
14 #elif !defined(OS_MACOSX) 14 #elif !defined(OS_MACOSX)
15 #include "third_party/skia/include/core/SkRefCnt.h" 15 #include "third_party/skia/include/core/SkRefCnt.h"
16 class SkPaint; 16 class SkPaint;
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Cached metrics, generated at construction 273 // Cached metrics, generated at construction
274 int height_; 274 int height_;
275 int ascent_; 275 int ascent_;
276 int avg_width_; 276 int avg_width_;
277 #endif 277 #endif
278 278
279 }; 279 };
280 280
281 } // namespace gfx 281 } // namespace gfx
282 282
283 #endif // APP_GFX_FONT_H_ 283 #endif // GFX_FONT_H_
OLDNEW
« no previous file with comments | « gfx/canvas_win.cc ('k') | gfx/font_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698