| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved. | 2 * Copyright (c) 2006, 2007, 2008, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 return const_cast<NSFont*>(reinterpret_cast<const NSFont*>(ctFontRef)); | 66 return const_cast<NSFont*>(reinterpret_cast<const NSFont*>(ctFontRef)); |
| 67 } | 67 } |
| 68 #endif // OS(MACOSX) | 68 #endif // OS(MACOSX) |
| 69 | 69 |
| 70 class SkTypeface; | 70 class SkTypeface; |
| 71 typedef uint32_t SkFontID; | 71 typedef uint32_t SkFontID; |
| 72 | 72 |
| 73 namespace blink { | 73 namespace blink { |
| 74 | 74 |
| 75 class Font; | 75 class Font; |
| 76 class GraphicsContext; | |
| 77 class HarfBuzzFace; | 76 class HarfBuzzFace; |
| 78 | 77 |
| 79 class PLATFORM_EXPORT FontPlatformData { | 78 class PLATFORM_EXPORT FontPlatformData { |
| 80 USING_FAST_MALLOC(FontPlatformData); | 79 USING_FAST_MALLOC(FontPlatformData); |
| 81 | 80 |
| 82 public: | 81 public: |
| 83 // Used for deleted values in the font cache's hash tables. The hash table | 82 // Used for deleted values in the font cache's hash tables. The hash table |
| 84 // will create us with this structure, and it will compare other values | 83 // will create us with this structure, and it will compare other values |
| 85 // to this "Deleted" one. It expects the Deleted one to be differentiable | 84 // to this "Deleted" one. It expects the Deleted one to be differentiable |
| 86 // from the 0 one (created with the empty constructor), so we can't just | 85 // from the 0 one (created with the empty constructor), so we can't just |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 #if OS(WIN) | 186 #if OS(WIN) |
| 188 int m_paintTextFlags; | 187 int m_paintTextFlags; |
| 189 unsigned m_minSizeForAntiAlias; | 188 unsigned m_minSizeForAntiAlias; |
| 190 float m_minSizeForSubpixel; | 189 float m_minSizeForSubpixel; |
| 191 #endif | 190 #endif |
| 192 }; | 191 }; |
| 193 | 192 |
| 194 } // namespace blink | 193 } // namespace blink |
| 195 | 194 |
| 196 #endif // ifdef FontPlatformData_h | 195 #endif // ifdef FontPlatformData_h |
| OLD | NEW |