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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontFallbackIterator.h

Issue 2466383004: blink: Cleanup class forward declarations (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
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 "wtf/HashMap.h"
11 #include "wtf/PassRefPtr.h" 11 #include "wtf/PassRefPtr.h"
12 #include "wtf/RefCounted.h" 12 #include "wtf/RefCounted.h"
13 #include "wtf/RefPtr.h" 13 #include "wtf/RefPtr.h"
14 #include "wtf/Vector.h" 14 #include "wtf/Vector.h"
15 #include "wtf/text/Unicode.h" 15 #include "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 class FontFamily;
25 24
26 class FontFallbackIterator : public RefCounted<FontFallbackIterator> { 25 class FontFallbackIterator : public RefCounted<FontFallbackIterator> {
27 WTF_MAKE_NONCOPYABLE(FontFallbackIterator); 26 WTF_MAKE_NONCOPYABLE(FontFallbackIterator);
28 27
29 public: 28 public:
30 static PassRefPtr<FontFallbackIterator> create(const FontDescription&, 29 static PassRefPtr<FontFallbackIterator> create(const FontDescription&,
31 PassRefPtr<FontFallbackList>, 30 PassRefPtr<FontFallbackList>,
32 FontFallbackPriority); 31 FontFallbackPriority);
33 32
34 bool hasNext() const { return m_fallbackStage != OutOfLuck; }; 33 bool hasNext() const { return m_fallbackStage != OutOfLuck; };
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // as returning a duplicate value causes a shaping run that won't return any 75 // as returning a duplicate value causes a shaping run that won't return any
77 // results. 76 // results.
78 HashSet<uint32_t> m_uniqueFontDataForRangeSetsReturned; 77 HashSet<uint32_t> m_uniqueFontDataForRangeSetsReturned;
79 Vector<RefPtr<FontDataForRangeSet>> m_trackedLoadingRangeSets; 78 Vector<RefPtr<FontDataForRangeSet>> m_trackedLoadingRangeSets;
80 FontFallbackPriority m_fontFallbackPriority; 79 FontFallbackPriority m_fontFallbackPriority;
81 }; 80 };
82 81
83 } // namespace blink 82 } // namespace blink
84 83
85 #endif 84 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698