| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 FontFallbackIterator_h | 5 #ifndef FontFallbackIterator_h |
| 6 #define FontFallbackIterator_h | 6 #define FontFallbackIterator_h |
| 7 | 7 |
| 8 #include "platform/fonts/FontDataForRangeSet.h" | 8 #include "platform/fonts/FontDataForRangeSet.h" |
| 9 #include "platform/fonts/FontFallbackPriority.h" | 9 #include "platform/fonts/FontFallbackPriority.h" |
| 10 #include "wtf/HashMap.h" | 10 #include "platform/wtf/HashMap.h" |
| 11 #include "wtf/PassRefPtr.h" | 11 #include "platform/wtf/PassRefPtr.h" |
| 12 #include "wtf/RefCounted.h" | 12 #include "platform/wtf/RefCounted.h" |
| 13 #include "wtf/RefPtr.h" | 13 #include "platform/wtf/RefPtr.h" |
| 14 #include "wtf/Vector.h" | 14 #include "platform/wtf/Vector.h" |
| 15 #include "wtf/text/Unicode.h" | 15 #include "platform/wtf/text/Unicode.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 using namespace WTF; | 19 using namespace WTF; |
| 20 | 20 |
| 21 class FontDescription; | 21 class FontDescription; |
| 22 class FontFallbackList; | 22 class FontFallbackList; |
| 23 class SimpleFontData; | 23 class SimpleFontData; |
| 24 | 24 |
| 25 class FontFallbackIterator : public RefCounted<FontFallbackIterator> { | 25 class FontFallbackIterator : public RefCounted<FontFallbackIterator> { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // as returning a duplicate value causes a shaping run that won't return any | 76 // as returning a duplicate value causes a shaping run that won't return any |
| 77 // results. | 77 // results. |
| 78 HashSet<uint32_t> m_uniqueFontDataForRangeSetsReturned; | 78 HashSet<uint32_t> m_uniqueFontDataForRangeSetsReturned; |
| 79 Vector<RefPtr<FontDataForRangeSet>> m_trackedLoadingRangeSets; | 79 Vector<RefPtr<FontDataForRangeSet>> m_trackedLoadingRangeSets; |
| 80 FontFallbackPriority m_fontFallbackPriority; | 80 FontFallbackPriority m_fontFallbackPriority; |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace blink | 83 } // namespace blink |
| 84 | 84 |
| 85 #endif | 85 #endif |
| OLD | NEW |