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

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

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 months 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 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 10 matching lines...) Expand all
21 #ifndef FontFallbackList_h 21 #ifndef FontFallbackList_h
22 #define FontFallbackList_h 22 #define FontFallbackList_h
23 23
24 #include "platform/fonts/FallbackListCompositeKey.h" 24 #include "platform/fonts/FallbackListCompositeKey.h"
25 #include "platform/fonts/FontCache.h" 25 #include "platform/fonts/FontCache.h"
26 #include "platform/fonts/FontSelector.h" 26 #include "platform/fonts/FontSelector.h"
27 #include "platform/fonts/SimpleFontData.h" 27 #include "platform/fonts/SimpleFontData.h"
28 #include "platform/fonts/shaping/ShapeCache.h" 28 #include "platform/fonts/shaping/ShapeCache.h"
29 #include "wtf/Allocator.h" 29 #include "wtf/Allocator.h"
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 #include "wtf/RefCounted.h"
31 #include "wtf/WeakPtr.h" 32 #include "wtf/WeakPtr.h"
32 33
33 namespace blink { 34 namespace blink {
34 35
35 class GlyphPageTreeNodeBase; 36 class GlyphPageTreeNodeBase;
36 class FontDescription; 37 class FontDescription;
37 38
38 const int cAllFamiliesScanned = -1; 39 const int cAllFamiliesScanned = -1;
39 40
40 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { 41 class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 unsigned m_fontSelectorVersion; 134 unsigned m_fontSelectorVersion;
134 mutable int m_familyIndex; 135 mutable int m_familyIndex;
135 unsigned short m_generation; 136 unsigned short m_generation;
136 mutable bool m_hasLoadingFallback : 1; 137 mutable bool m_hasLoadingFallback : 1;
137 mutable WeakPtr<ShapeCache> m_shapeCache; 138 mutable WeakPtr<ShapeCache> m_shapeCache;
138 }; 139 };
139 140
140 } // namespace blink 141 } // namespace blink
141 142
142 #endif 143 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698