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

Side by Side Diff: app/gfx/chrome_font.h

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « app/gfx/chrome_canvas_win.cc ('k') | app/gfx/chrome_font_skia.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_CHROME_FONT_H_ 5 #ifndef APP_GFX_CHROME_FONT_H_
6 #define APP_GFX_CHROME_FONT_H_ 6 #define APP_GFX_CHROME_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_LINUX) 14 #elif defined(OS_LINUX)
15 #include "skia/include/SkRefCnt.h" 15 #include "third_party/skia/include/core/SkRefCnt.h"
16 class SkPaint; 16 class SkPaint;
17 class SkTypeface; 17 class SkTypeface;
18 #endif 18 #endif
19 19
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 typedef struct HFONT__* NativeFont; 21 typedef struct HFONT__* NativeFont;
22 #elif defined(OS_MACOSX) 22 #elif defined(OS_MACOSX)
23 #ifdef __OBJC__ 23 #ifdef __OBJC__
24 @class NSFont; 24 @class NSFont;
25 #else 25 #else
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 // Cached metrics, generated at construction 229 // Cached metrics, generated at construction
230 int height_; 230 int height_;
231 int ascent_; 231 int ascent_;
232 int avg_width_; 232 int avg_width_;
233 #endif 233 #endif
234 234
235 }; 235 };
236 236
237 #endif // APP_GFX_CHROME_FONT_H_ 237 #endif // APP_GFX_CHROME_FONT_H_
OLDNEW
« no previous file with comments | « app/gfx/chrome_canvas_win.cc ('k') | app/gfx/chrome_font_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698