| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 met: | 5 * modification, are permitted provided that the following conditions are met: |
| 6 * | 6 * |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 void fireDoneEventIfPossible(); | 140 void fireDoneEventIfPossible(); |
| 141 bool resolveFontStyle(const String&, Font&); | 141 bool resolveFontStyle(const String&, Font&); |
| 142 void handlePendingEventsAndPromisesSoon(); | 142 void handlePendingEventsAndPromisesSoon(); |
| 143 void handlePendingEventsAndPromises(); | 143 void handlePendingEventsAndPromises(); |
| 144 const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>& cssConnectedFontF
aceList() const; | 144 const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>& cssConnectedFontF
aceList() const; |
| 145 bool isCSSConnectedFontFace(FontFace*) const; | 145 bool isCSSConnectedFontFace(FontFace*) const; |
| 146 | 146 |
| 147 WillBeHeapHashSet<RefPtrWillBeMember<FontFace>> m_loadingFonts; | 147 WillBeHeapHashSet<RefPtrWillBeMember<FontFace>> m_loadingFonts; |
| 148 bool m_shouldFireLoadingEvent; | 148 bool m_shouldFireLoadingEvent; |
| 149 bool m_isLoading; | 149 bool m_isLoading; |
| 150 WillBeHeapVector<OwnPtrWillBeMember<FontsReadyPromiseResolver>> m_readyResol
vers; | 150 PersistentHeapVectorWillBeHeapVector<Member<FontsReadyPromiseResolver>> m_re
adyResolvers; |
| 151 FontFaceArray m_loadedFonts; | 151 FontFaceArray m_loadedFonts; |
| 152 FontFaceArray m_failedFonts; | 152 FontFaceArray m_failedFonts; |
| 153 WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>> m_nonCSSConnectedFaces; | 153 WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>> m_nonCSSConnectedFaces; |
| 154 | 154 |
| 155 AsyncMethodRunner<FontFaceSet> m_asyncRunner; | 155 AsyncMethodRunner<FontFaceSet> m_asyncRunner; |
| 156 | 156 |
| 157 FontLoadHistogram m_histogram; | 157 FontLoadHistogram m_histogram; |
| 158 }; | 158 }; |
| 159 | 159 |
| 160 } // namespace blink | 160 } // namespace blink |
| 161 | 161 |
| 162 #endif // FontFaceSet_h | 162 #endif // FontFaceSet_h |
| OLD | NEW |