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

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class DOMArrayBufferView; 50 class DOMArrayBufferView;
51 class Document; 51 class Document;
52 class ExceptionState; 52 class ExceptionState;
53 class FontFaceDescriptors; 53 class FontFaceDescriptors;
54 class StringOrArrayBufferOrArrayBufferView; 54 class StringOrArrayBufferOrArrayBufferView;
55 class StylePropertySet; 55 class StylePropertySet;
56 class StyleRuleFontFace; 56 class StyleRuleFontFace;
57 57
58 class FontFace : public GarbageCollectedFinalized<FontFace>, 58 class FontFace : public GarbageCollectedFinalized<FontFace>,
59 public ScriptWrappable, 59 public ScriptWrappable,
60 public ActiveScriptWrappable, 60 public ActiveScriptWrappable<FontFace>,
61 public SuspendableObject { 61 public SuspendableObject {
62 DEFINE_WRAPPERTYPEINFO(); 62 DEFINE_WRAPPERTYPEINFO();
63 USING_GARBAGE_COLLECTED_MIXIN(FontFace); 63 USING_GARBAGE_COLLECTED_MIXIN(FontFace);
64 WTF_MAKE_NONCOPYABLE(FontFace); 64 WTF_MAKE_NONCOPYABLE(FontFace);
65 65
66 public: 66 public:
67 enum LoadStatusType { Unloaded, Loading, Loaded, Error }; 67 enum LoadStatusType { Unloaded, Loading, Loaded, Error };
68 68
69 static FontFace* create(ExecutionContext*, 69 static FontFace* create(ExecutionContext*,
70 const AtomicString& family, 70 const AtomicString& family,
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 Member<LoadedProperty> m_loadedProperty; 175 Member<LoadedProperty> m_loadedProperty;
176 Member<CSSFontFace> m_cssFontFace; 176 Member<CSSFontFace> m_cssFontFace;
177 HeapVector<Member<LoadFontCallback>> m_callbacks; 177 HeapVector<Member<LoadFontCallback>> m_callbacks;
178 }; 178 };
179 179
180 using FontFaceArray = HeapVector<Member<FontFace>>; 180 using FontFaceArray = HeapVector<Member<FontFace>>;
181 181
182 } // namespace blink 182 } // namespace blink
183 183
184 #endif // FontFace_h 184 #endif // FontFace_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.h ('k') | third_party/WebKit/Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698