| 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 25 matching lines...) Expand all Loading... |
| 36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
| 37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
| 38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
| 39 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class CustomElementRegistrationContext; | 43 class CustomElementRegistrationContext; |
| 44 class Element; | 44 class Element; |
| 45 | 45 |
| 46 class CustomElementMicrotaskResolutionStep : public CustomElementMicrotaskStep { | 46 class CustomElementMicrotaskResolutionStep final : public CustomElementMicrotask
Step { |
| 47 WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskResolutionStep); | |
| 48 public: | 47 public: |
| 49 static PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> create(P
assRefPtrWillBeRawPtr<CustomElementRegistrationContext>, PassRefPtrWillBeRawPtr<
Element>, const CustomElementDescriptor&); | 48 static PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> create(P
assRefPtrWillBeRawPtr<CustomElementRegistrationContext>, PassRefPtrWillBeRawPtr<
Element>, const CustomElementDescriptor&); |
| 50 | 49 |
| 51 ~CustomElementMicrotaskResolutionStep() override; | 50 ~CustomElementMicrotaskResolutionStep() override; |
| 52 | 51 |
| 53 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementReg
istrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescripto
r&); | 55 CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementReg
istrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescripto
r&); |
| 57 | 56 |
| 58 Result process() override; | 57 Result process() override; |
| 59 | 58 |
| 60 #if !defined(NDEBUG) | 59 #if !defined(NDEBUG) |
| 61 void show(unsigned indent) override; | 60 void show(unsigned indent) override; |
| 62 #endif | 61 #endif |
| 63 | 62 |
| 64 RefPtrWillBeMember<CustomElementRegistrationContext> m_context; | 63 RefPtrWillBeMember<CustomElementRegistrationContext> m_context; |
| 65 RefPtrWillBeMember<Element> m_element; | 64 RefPtrWillBeMember<Element> m_element; |
| 66 CustomElementDescriptor m_descriptor; | 65 CustomElementDescriptor m_descriptor; |
| 67 }; | 66 }; |
| 68 | 67 |
| 69 } // namespace blink | 68 } // namespace blink |
| 70 | 69 |
| 71 #endif // CustomElementMicrotaskResolutionStep_h | 70 #endif // CustomElementMicrotaskResolutionStep_h |
| OLD | NEW |