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

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

Issue 1996883002: CSS: SelectorFilter is non-copyable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: additional classes Created 4 years, 7 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class Font; 53 class Font;
54 class FontFaceCache; 54 class FontFaceCache;
55 class FontResource; 55 class FontResource;
56 class ExecutionContext; 56 class ExecutionContext;
57 57
58 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>; 58 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>;
59 59
60 class FontFaceSet final : public EventTargetWithInlineData, public Supplement<Do cument>, public ActiveDOMObject, public FontFaceSetIterable { 60 class FontFaceSet final : public EventTargetWithInlineData, public Supplement<Do cument>, public ActiveDOMObject, public FontFaceSetIterable {
61 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet); 61 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet);
62 DEFINE_WRAPPERTYPEINFO(); 62 DEFINE_WRAPPERTYPEINFO();
63 WTF_MAKE_NONCOPYABLE(FontFaceSet);
63 public: 64 public:
64 ~FontFaceSet() override; 65 ~FontFaceSet() override;
65 66
66 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading); 67 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading);
67 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone); 68 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone);
68 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror); 69 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror);
69 70
70 bool check(const String& font, const String& text, ExceptionState&); 71 bool check(const String& font, const String& text, ExceptionState&);
71 ScriptPromise load(ScriptState*, const String& font, const String& text); 72 ScriptPromise load(ScriptState*, const String& font, const String& text);
72 ScriptPromise ready(ScriptState*); 73 ScriptPromise ready(ScriptState*);
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces; 173 HeapListHashSet<Member<FontFace>> m_nonCSSConnectedFaces;
173 174
174 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner; 175 Member<AsyncMethodRunner<FontFaceSet>> m_asyncRunner;
175 176
176 FontLoadHistogram m_histogram; 177 FontLoadHistogram m_histogram;
177 }; 178 };
178 179
179 } // namespace blink 180 } // namespace blink
180 181
181 #endif // FontFaceSet_h 182 #endif // FontFaceSet_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.h ('k') | third_party/WebKit/Source/core/css/MediaQueryList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698