| 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 27 matching lines...) Expand all Loading... |
| 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 final : public CustomElementMicrotask
Step { | 46 class CustomElementMicrotaskResolutionStep final : public CustomElementMicrotask
Step { |
| 47 public: | 47 public: |
| 48 static PassOwnPtrWillBeRawPtr<CustomElementMicrotaskResolutionStep> create(P
assRefPtrWillBeRawPtr<CustomElementRegistrationContext>, PassRefPtrWillBeRawPtr<
Element>, const CustomElementDescriptor&); | 48 static RawPtr<CustomElementMicrotaskResolutionStep> create(RawPtr<CustomElem
entRegistrationContext>, RawPtr<Element>, const CustomElementDescriptor&); |
| 49 | 49 |
| 50 ~CustomElementMicrotaskResolutionStep() override; | 50 ~CustomElementMicrotaskResolutionStep() override; |
| 51 | 51 |
| 52 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 CustomElementMicrotaskResolutionStep(PassRefPtrWillBeRawPtr<CustomElementReg
istrationContext>, PassRefPtrWillBeRawPtr<Element>, const CustomElementDescripto
r&); | 55 CustomElementMicrotaskResolutionStep(RawPtr<CustomElementRegistrationContext
>, RawPtr<Element>, const CustomElementDescriptor&); |
| 56 | 56 |
| 57 Result process() override; | 57 Result process() override; |
| 58 | 58 |
| 59 #if !defined(NDEBUG) | 59 #if !defined(NDEBUG) |
| 60 void show(unsigned indent) override; | 60 void show(unsigned indent) override; |
| 61 #endif | 61 #endif |
| 62 | 62 |
| 63 RefPtrWillBeMember<CustomElementRegistrationContext> m_context; | 63 Member<CustomElementRegistrationContext> m_context; |
| 64 RefPtrWillBeMember<Element> m_element; | 64 Member<Element> m_element; |
| 65 CustomElementDescriptor m_descriptor; | 65 CustomElementDescriptor m_descriptor; |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace blink | 68 } // namespace blink |
| 69 | 69 |
| 70 #endif // CustomElementMicrotaskResolutionStep_h | 70 #endif // CustomElementMicrotaskResolutionStep_h |
| OLD | NEW |