| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |