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

Side by Side Diff: Source/core/css/FontFaceSet.h

Issue 989173003: Fix template angle bracket syntax in css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/css/FontFaceCache.h ('k') | Source/core/css/FontFaceSet.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 bool inActiveDocumentContext() const; 137 bool inActiveDocumentContext() const;
138 void forEachInternal(FontFaceSetForEachCallback*, const ScriptValue* thisArg ) const; 138 void forEachInternal(FontFaceSetForEachCallback*, const ScriptValue* thisArg ) const;
139 void addToLoadingFonts(PassRefPtrWillBeRawPtr<FontFace>); 139 void addToLoadingFonts(PassRefPtrWillBeRawPtr<FontFace>);
140 void removeFromLoadingFonts(PassRefPtrWillBeRawPtr<FontFace>); 140 void removeFromLoadingFonts(PassRefPtrWillBeRawPtr<FontFace>);
141 void fireLoadingEvent(); 141 void fireLoadingEvent();
142 void fireDoneEventIfPossible(); 142 void fireDoneEventIfPossible();
143 bool resolveFontStyle(const String&, Font&); 143 bool resolveFontStyle(const String&, Font&);
144 void handlePendingEventsAndPromisesSoon(); 144 void handlePendingEventsAndPromisesSoon();
145 void handlePendingEventsAndPromises(); 145 void handlePendingEventsAndPromises();
146 const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace> >& cssConnectedFont FaceList() const; 146 const WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>>& cssConnectedFontF aceList() const;
147 bool isCSSConnectedFontFace(FontFace*) const; 147 bool isCSSConnectedFontFace(FontFace*) const;
148 148
149 WillBeHeapHashSet<RefPtrWillBeMember<FontFace> > m_loadingFonts; 149 WillBeHeapHashSet<RefPtrWillBeMember<FontFace>> m_loadingFonts;
150 bool m_shouldFireLoadingEvent; 150 bool m_shouldFireLoadingEvent;
151 WillBeHeapVector<OwnPtrWillBeMember<FontsReadyPromiseResolver> > m_readyReso lvers; 151 WillBeHeapVector<OwnPtrWillBeMember<FontsReadyPromiseResolver>> m_readyResol vers;
152 FontFaceArray m_loadedFonts; 152 FontFaceArray m_loadedFonts;
153 FontFaceArray m_failedFonts; 153 FontFaceArray m_failedFonts;
154 WillBeHeapListHashSet<RefPtrWillBeMember<FontFace> > m_nonCSSConnectedFaces; 154 WillBeHeapListHashSet<RefPtrWillBeMember<FontFace>> m_nonCSSConnectedFaces;
155 155
156 AsyncMethodRunner<FontFaceSet> m_asyncRunner; 156 AsyncMethodRunner<FontFaceSet> m_asyncRunner;
157 157
158 FontLoadHistogram m_histogram; 158 FontLoadHistogram m_histogram;
159 }; 159 };
160 160
161 } // namespace blink 161 } // namespace blink
162 162
163 #endif // FontFaceSet_h 163 #endif // FontFaceSet_h
OLDNEW
« no previous file with comments | « Source/core/css/FontFaceCache.h ('k') | Source/core/css/FontFaceSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698