Chromium Code Reviews| 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 #include "wtf/Noncopyable.h" | |
| 12 | |
| 13 namespace blink { | |
| 14 | |
| 15 class CustomElementDefinition; | |
| 16 class Element; | |
| 17 | |
| 18 class CORE_EXPORT CustomElementUpgradeReaction : public CustomElementReaction { | |
|
yosin_UTC9
2016/06/02 04:06:38
Q: final?
| |
| 19 WTF_MAKE_NONCOPYABLE(CustomElementUpgradeReaction); | |
| 20 public: | |
| 21 CustomElementUpgradeReaction(CustomElementDefinition*); | |
| 22 virtual ~CustomElementUpgradeReaction(); | |
|
yosin_UTC9
2016/06/02 04:06:38
~CustomElementUpgradeReaction() override;
| |
| 23 DECLARE_VIRTUAL_TRACE(); | |
| 24 private: | |
| 25 void invoke(Element*) override; | |
| 26 | |
| 27 Member<CustomElementDefinition> m_definition; | |
| 28 }; | |
| 29 | |
| 30 } // namespace blink | |
| 31 | |
| 32 #endif // CustomElementUpgradeReaction_h | |
| OLD | NEW |