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

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

Issue 1483543002: Always use user preference font before system fallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 mutable Vector<RefPtr<FontData>, 1> m_fontList; 125 mutable Vector<RefPtr<FontData>, 1> m_fontList;
126 GlyphPages m_pages; 126 GlyphPages m_pages;
127 GlyphPageTreeNodeBase* m_pageZero; 127 GlyphPageTreeNodeBase* m_pageZero;
128 mutable const SimpleFontData* m_cachedPrimarySimpleFontData; 128 mutable const SimpleFontData* m_cachedPrimarySimpleFontData;
129 RefPtrWillBePersistent<FontSelector> m_fontSelector; 129 RefPtrWillBePersistent<FontSelector> m_fontSelector;
130 unsigned m_fontSelectorVersion; 130 unsigned m_fontSelectorVersion;
131 mutable int m_familyIndex; 131 mutable int m_familyIndex;
132 unsigned short m_generation; 132 unsigned short m_generation;
133 mutable bool m_hasLoadingFallback : 1; 133 mutable bool m_hasLoadingFallback : 1;
134 mutable bool m_hasNonBlankFontData : 1;
134 mutable WeakPtr<ShapeCache> m_shapeCache; 135 mutable WeakPtr<ShapeCache> m_shapeCache;
135 }; 136 };
136 137
137 } // namespace blink 138 } // namespace blink
138 139
139 #endif 140 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698