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

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

Issue 2641173008: [SPv2] Add CSS mask support (Closed)
Patch Set: rebase Created 3 years, 10 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 namespace blink { 47 namespace blink {
48 48
49 class CSSFontSelector; 49 class CSSFontSelector;
50 class ExceptionState; 50 class ExceptionState;
51 class Font; 51 class Font;
52 class FontFaceCache; 52 class FontFaceCache;
53 class ExecutionContext; 53 class ExecutionContext;
54 54
55 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>; 55 using FontFaceSetIterable = PairIterable<Member<FontFace>, Member<FontFace>>;
56 56
57 class FontFaceSet final : public EventTargetWithInlineData, 57 class CORE_EXPORT FontFaceSet final : public EventTargetWithInlineData,
58 public Supplement<Document>, 58 public Supplement<Document>,
59 public SuspendableObject, 59 public SuspendableObject,
60 public FontFaceSetIterable, 60 public FontFaceSetIterable,
61 public FontFace::LoadFontCallback { 61 public FontFace::LoadFontCallback {
62 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet); 62 USING_GARBAGE_COLLECTED_MIXIN(FontFaceSet);
63 DEFINE_WRAPPERTYPEINFO(); 63 DEFINE_WRAPPERTYPEINFO();
64 WTF_MAKE_NONCOPYABLE(FontFaceSet); 64 WTF_MAKE_NONCOPYABLE(FontFaceSet);
65 65
66 public: 66 public:
67 ~FontFaceSet() override; 67 ~FontFaceSet() override;
68 68
69 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading); 69 DEFINE_ATTRIBUTE_EVENT_LISTENER(loading);
70 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone); 70 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone);
71 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror); 71 DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingerror);
(...skipping 110 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/css/FontFace.h ('k') | third_party/WebKit/Source/core/layout/LayoutTestHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698