| 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 28 matching lines...) Expand all Loading... |
| 39 #include "platform/fonts/opentype/OpenTypeVerticalData.h" | 39 #include "platform/fonts/opentype/OpenTypeVerticalData.h" |
| 40 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
| 41 #include "wtf/HashTableDeletedValueType.h" | 41 #include "wtf/HashTableDeletedValueType.h" |
| 42 #include "wtf/RefPtr.h" | 42 #include "wtf/RefPtr.h" |
| 43 #include "wtf/text/CString.h" | 43 #include "wtf/text/CString.h" |
| 44 #include "wtf/text/StringImpl.h" | 44 #include "wtf/text/StringImpl.h" |
| 45 | 45 |
| 46 class SkTypeface; | 46 class SkTypeface; |
| 47 typedef uint32_t SkFontID; | 47 typedef uint32_t SkFontID; |
| 48 | 48 |
| 49 namespace WebCore { | 49 namespace blink { |
| 50 | 50 |
| 51 class GraphicsContext; | 51 class GraphicsContext; |
| 52 class HarfBuzzFace; | 52 class HarfBuzzFace; |
| 53 | 53 |
| 54 class PLATFORM_EXPORT FontPlatformData { | 54 class PLATFORM_EXPORT FontPlatformData { |
| 55 public: | 55 public: |
| 56 // Used for deleted values in the font cache's hash tables. The hash table | 56 // Used for deleted values in the font cache's hash tables. The hash table |
| 57 // will create us with this structure, and it will compare other values | 57 // will create us with this structure, and it will compare other values |
| 58 // to this "Deleted" one. It expects the Deleted one to be differentiable | 58 // to this "Deleted" one. It expects the Deleted one to be differentiable |
| 59 // from the 0 one (created with the empty constructor), so we can't just | 59 // from the 0 one (created with the empty constructor), so we can't just |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 FontRenderStyle m_style; | 131 FontRenderStyle m_style; |
| 132 mutable RefPtr<HarfBuzzFace> m_harfBuzzFace; | 132 mutable RefPtr<HarfBuzzFace> m_harfBuzzFace; |
| 133 bool m_isHashTableDeletedValue; | 133 bool m_isHashTableDeletedValue; |
| 134 #if OS(WIN) | 134 #if OS(WIN) |
| 135 int m_paintTextFlags; | 135 int m_paintTextFlags; |
| 136 bool m_useSubpixelPositioning; | 136 bool m_useSubpixelPositioning; |
| 137 unsigned m_minSizeForAntiAlias; | 137 unsigned m_minSizeForAntiAlias; |
| 138 #endif | 138 #endif |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace WebCore | 141 } // namespace blink |
| 142 | 142 |
| 143 #endif // ifdef FontPlatformDataHarfBuzz_h | 143 #endif // ifdef FontPlatformDataHarfBuzz_h |
| OLD | NEW |