| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CustomElementConnectedCallbackReaction_h | 5 #ifndef CustomElementConnectedCallbackReaction_h |
| 6 #define CustomElementConnectedCallbackReaction_h | 6 #define CustomElementConnectedCallbackReaction_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/dom/custom/CustomElementReaction.h" | 9 #include "core/dom/custom/CustomElementReaction.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "wtf/Noncopyable.h" | 11 #include "platform/wtf/Noncopyable.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class CORE_EXPORT CustomElementConnectedCallbackReaction final | 15 class CORE_EXPORT CustomElementConnectedCallbackReaction final |
| 16 : public CustomElementReaction { | 16 : public CustomElementReaction { |
| 17 WTF_MAKE_NONCOPYABLE(CustomElementConnectedCallbackReaction); | 17 WTF_MAKE_NONCOPYABLE(CustomElementConnectedCallbackReaction); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 CustomElementConnectedCallbackReaction(CustomElementDefinition*); | 20 CustomElementConnectedCallbackReaction(CustomElementDefinition*); |
| 21 | 21 |
| 22 private: | 22 private: |
| 23 void Invoke(Element*) override; | 23 void Invoke(Element*) override; |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace blink | 26 } // namespace blink |
| 27 | 27 |
| 28 #endif // CustomElementConnectedCallbackReaction_h | 28 #endif // CustomElementConnectedCallbackReaction_h |
| OLD | NEW |