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

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

Issue 1857143002: Oilpan: Remove RefCountedGarbageCollectedEventTargetWithInlineData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 class CSSFontSelector; 52 class CSSFontSelector;
53 class Dictionary; 53 class Dictionary;
54 class ExceptionState; 54 class ExceptionState;
55 class Font; 55 class Font;
56 class FontFaceCache; 56 class FontFaceCache;
57 class FontResource; 57 class FontResource;
58 class ExecutionContext; 58 class ExecutionContext;
59 59
60 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>; 60 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>;
61 61
62 class FontFaceSet final : public EventTargetWithInlineData, public Supplement<Do cument>, public ActiveDOMObject, public FontFaceSetIterable { 62 class FontFaceSet final : public EventTargetWithInlineData<FontFaceSet>, public Supplement<Document>, public ActiveDOMObject, public FontFaceSetIterable {
63 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet); 63 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet);
64 DEFINE_WRAPPERTYPEINFO(); 64 DEFINE_WRAPPERTYPEINFO();
65 public: 65 public:
66 ~FontFaceSet() override; 66 ~FontFaceSet() override;
67 67
68 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading); 68 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading);
69 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone); 69 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone);
70 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror); 70 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror);
71 71
72 bool check(const String& font, const String& text, ExceptionState&); 72 bool check(const String& font, const String& text, ExceptionState&);
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces; 169 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces;
170 170
171 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner; 171 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner;
172 172
173 FontLoadHistogram m_histogram; 173 FontLoadHistogram m_histogram;
174 }; 174 };
175 175
176 } // namespace blink 176 } // namespace blink
177 177
178 #endif // FontFaceSet_h 178 #endif // FontFaceSet_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698