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

Side by Side Diff: Source/platform/fonts/FontPlatformData.h

Issue 524773004: Clean up forward declarations in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 3 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 | « Source/platform/fonts/FontFallbackList.h ('k') | Source/platform/fonts/SimpleFontData.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc.
3 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 3 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
4 * Copyright (C) 2007 Holger Hans Peter Freyther 4 * Copyright (C) 2007 Holger Hans Peter Freyther
5 * Copyright (C) 2007 Pioneer Research Center USA, Inc. 5 * Copyright (C) 2007 Pioneer Research Center USA, Inc.
6 * Copyright (C) 2010, 2011 Brent Fulgham <bfulgham@webkit.org> 6 * Copyright (C) 2010, 2011 Brent Fulgham <bfulgham@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "third_party/skia/include/core/SkTypeface.h" 54 #include "third_party/skia/include/core/SkTypeface.h"
55 55
56 typedef struct CGFont* CGFontRef; 56 typedef struct CGFont* CGFontRef;
57 typedef const struct __CTFont* CTFontRef; 57 typedef const struct __CTFont* CTFontRef;
58 typedef UInt32 FMFont; 58 typedef UInt32 FMFont;
59 typedef FMFont ATSUFontID; 59 typedef FMFont ATSUFontID;
60 typedef UInt32 ATSFontRef; 60 typedef UInt32 ATSFontRef;
61 61
62 namespace blink { 62 namespace blink {
63 63
64 class FontDescription;
65 class SharedBuffer;
66
67 class HarfBuzzFace; 64 class HarfBuzzFace;
68 65
69 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef >(nsFont); } 66 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef >(nsFont); }
70 67
71 class PLATFORM_EXPORT FontPlatformData { 68 class PLATFORM_EXPORT FontPlatformData {
72 public: 69 public:
73 FontPlatformData(WTF::HashTableDeletedValueType); 70 FontPlatformData(WTF::HashTableDeletedValueType);
74 FontPlatformData(); 71 FontPlatformData();
75 FontPlatformData(const FontPlatformData&); 72 FontPlatformData(const FontPlatformData&);
76 FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, Font Orientation = Horizontal, FontWidthVariant = RegularWidth); 73 FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, Font Orientation = Horizontal, FontWidthVariant = RegularWidth);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 166
170 bool m_isColorBitmapFont; 167 bool m_isColorBitmapFont;
171 bool m_isCompositeFontReference; 168 bool m_isCompositeFontReference;
172 }; 169 };
173 170
174 } // namespace blink 171 } // namespace blink
175 172
176 #endif // FontPlatformData_h 173 #endif // FontPlatformData_h
177 174
178 #endif 175 #endif
OLDNEW
« no previous file with comments | « Source/platform/fonts/FontFallbackList.h ('k') | Source/platform/fonts/SimpleFontData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698