OLD | NEW |
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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 16 matching lines...) Expand all Loading... |
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef CustomElementMicrotaskResolutionStep_h | 31 #ifndef CustomElementMicrotaskResolutionStep_h |
32 #define CustomElementMicrotaskResolutionStep_h | 32 #define CustomElementMicrotaskResolutionStep_h |
33 | 33 |
34 #include "core/dom/custom/CustomElementDescriptor.h" | 34 #include "core/dom/custom/CustomElementDescriptor.h" |
35 #include "core/dom/custom/CustomElementMicrotaskStep.h" | 35 #include "core/dom/custom/CustomElementMicrotaskStep.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/PassOwnPtr.h" | |
38 #include "wtf/PassRefPtr.h" | |
39 #include "wtf/RefPtr.h" | |
40 | 37 |
41 namespace blink { | 38 namespace blink { |
42 | 39 |
43 class CustomElementRegistrationContext; | 40 class CustomElementRegistrationContext; |
44 class Element; | 41 class Element; |
45 | 42 |
46 class CustomElementMicrotaskResolutionStep final : public CustomElementMicrotask
Step { | 43 class CustomElementMicrotaskResolutionStep final : public CustomElementMicrotask
Step { |
47 public: | 44 public: |
48 static RawPtr<CustomElementMicrotaskResolutionStep> create(RawPtr<CustomElem
entRegistrationContext>, RawPtr<Element>, const CustomElementDescriptor&); | 45 static RawPtr<CustomElementMicrotaskResolutionStep> create(RawPtr<CustomElem
entRegistrationContext>, RawPtr<Element>, const CustomElementDescriptor&); |
49 | 46 |
(...skipping 11 matching lines...) Expand all Loading... |
61 #endif | 58 #endif |
62 | 59 |
63 Member<CustomElementRegistrationContext> m_context; | 60 Member<CustomElementRegistrationContext> m_context; |
64 Member<Element> m_element; | 61 Member<Element> m_element; |
65 CustomElementDescriptor m_descriptor; | 62 CustomElementDescriptor m_descriptor; |
66 }; | 63 }; |
67 | 64 |
68 } // namespace blink | 65 } // namespace blink |
69 | 66 |
70 #endif // CustomElementMicrotaskResolutionStep_h | 67 #endif // CustomElementMicrotaskResolutionStep_h |
OLD | NEW |