| 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 ScriptCustomElementDefinition_h | 5 #ifndef ScriptCustomElementDefinition_h |
| 6 #define ScriptCustomElementDefinition_h | 6 #define ScriptCustomElementDefinition_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScopedPersistent.h" | 8 #include "bindings/core/v8/ScopedPersistent.h" |
| 9 #include "bindings/core/v8/ScriptState.h" | 9 #include "bindings/core/v8/ScriptState.h" |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| 11 #include "core/dom/custom/CustomElementDefinition.h" | 11 #include "core/dom/custom/CustomElementDefinition.h" |
| 12 #include "platform/wtf/Noncopyable.h" |
| 13 #include "platform/wtf/RefPtr.h" |
| 12 #include "v8.h" | 14 #include "v8.h" |
| 13 #include "wtf/Noncopyable.h" | |
| 14 #include "wtf/RefPtr.h" | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class CustomElementDescriptor; | 18 class CustomElementDescriptor; |
| 19 class CustomElementRegistry; | 19 class CustomElementRegistry; |
| 20 | 20 |
| 21 class CORE_EXPORT ScriptCustomElementDefinition final | 21 class CORE_EXPORT ScriptCustomElementDefinition final |
| 22 : public CustomElementDefinition { | 22 : public CustomElementDefinition { |
| 23 WTF_MAKE_NONCOPYABLE(ScriptCustomElementDefinition); | 23 WTF_MAKE_NONCOPYABLE(ScriptCustomElementDefinition); |
| 24 | 24 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 ScopedPersistent<v8::Object> m_constructor; | 91 ScopedPersistent<v8::Object> m_constructor; |
| 92 ScopedPersistent<v8::Function> m_connectedCallback; | 92 ScopedPersistent<v8::Function> m_connectedCallback; |
| 93 ScopedPersistent<v8::Function> m_disconnectedCallback; | 93 ScopedPersistent<v8::Function> m_disconnectedCallback; |
| 94 ScopedPersistent<v8::Function> m_adoptedCallback; | 94 ScopedPersistent<v8::Function> m_adoptedCallback; |
| 95 ScopedPersistent<v8::Function> m_attributeChangedCallback; | 95 ScopedPersistent<v8::Function> m_attributeChangedCallback; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif // ScriptCustomElementDefinition_h | 100 #endif // ScriptCustomElementDefinition_h |
| OLD | NEW |