OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CustomElementUpgradeReaction_h |
| 6 #define CustomElementUpgradeReaction_h |
| 7 |
| 8 #include "core/CoreExport.h" |
| 9 #include "core/dom/custom/CustomElementReaction.h" |
| 10 #include "platform/heap/Handle.h" |
| 11 |
| 12 namespace blink { |
| 13 |
| 14 class CustomElementDefinition; |
| 15 class Element; |
| 16 |
| 17 class CORE_EXPORT CustomElementUpgradeReaction : public CustomElementReaction { |
| 18 DISALLOW_COPY_AND_ASSIGN(CustomElementUpgradeReaction); |
| 19 public: |
| 20 CustomElementUpgradeReaction(CustomElementDefinition*); |
| 21 virtual ~CustomElementUpgradeReaction(); |
| 22 DECLARE_VIRTUAL_TRACE(); |
| 23 private: |
| 24 void invoke(Element*) override; |
| 25 |
| 26 Member<CustomElementDefinition> m_definition; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // CustomElementUpgradeReaction_h |
OLD | NEW |