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

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

Issue 2629593004: Disambiguate LifecycleObserver::contextDestroyed (Closed)
Patch Set: temp Created 3 years, 11 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) 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // FontFace::LoadFontCallback 93 // FontFace::LoadFontCallback
94 void notifyLoaded(FontFace*) override; 94 void notifyLoaded(FontFace*) override;
95 void notifyError(FontFace*) override; 95 void notifyError(FontFace*) override;
96 96
97 size_t approximateBlankCharacterCount() const; 97 size_t approximateBlankCharacterCount() const;
98 98
99 // SuspendableObject 99 // SuspendableObject
100 void suspend() override; 100 void suspend() override;
101 void resume() override; 101 void resume() override;
102 void contextDestroyed() override; 102 void contextDestroyed(ExecutionContext*) override;
103 103
104 static FontFaceSet* from(Document&); 104 static FontFaceSet* from(Document&);
105 static void didLayout(Document&); 105 static void didLayout(Document&);
106 static size_t approximateBlankCharacterCount(Document&); 106 static size_t approximateBlankCharacterCount(Document&);
107 107
108 static const char* supplementName() { return "FontFaceSet"; } 108 static const char* supplementName() { return "FontFaceSet"; }
109 109
110 void addFontFacesToFontFaceCache(FontFaceCache*, CSSFontSelector*); 110 void addFontFacesToFontFaceCache(FontFaceCache*, CSSFontSelector*);
111 111
112 DECLARE_VIRTUAL_TRACE(); 112 DECLARE_VIRTUAL_TRACE();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces; 182 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces;
183 183
184 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner; 184 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner;
185 185
186 FontLoadHistogram m_histogram; 186 FontLoadHistogram m_histogram;
187 }; 187 };
188 188
189 } // namespace blink 189 } // namespace blink
190 190
191 #endif // FontFaceSet_h 191 #endif // FontFaceSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('k') | third_party/WebKit/Source/core/css/FontFaceSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698