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" | |
9 #include "bindings/core/v8/ScriptState.h" | 8 #include "bindings/core/v8/ScriptState.h" |
10 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
11 #include "core/dom/custom/CustomElementDefinition.h" | 10 #include "core/dom/custom/CustomElementDefinition.h" |
| 11 #include "platform/bindings/ScopedPersistent.h" |
12 #include "platform/wtf/Noncopyable.h" | 12 #include "platform/wtf/Noncopyable.h" |
13 #include "platform/wtf/RefPtr.h" | 13 #include "platform/wtf/RefPtr.h" |
14 #include "v8.h" | 14 #include "v8.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 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 ScopedPersistent<v8::Object> constructor_; | 91 ScopedPersistent<v8::Object> constructor_; |
92 ScopedPersistent<v8::Function> connected_callback_; | 92 ScopedPersistent<v8::Function> connected_callback_; |
93 ScopedPersistent<v8::Function> disconnected_callback_; | 93 ScopedPersistent<v8::Function> disconnected_callback_; |
94 ScopedPersistent<v8::Function> adopted_callback_; | 94 ScopedPersistent<v8::Function> adopted_callback_; |
95 ScopedPersistent<v8::Function> attribute_changed_callback_; | 95 ScopedPersistent<v8::Function> attribute_changed_callback_; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace blink | 98 } // namespace blink |
99 | 99 |
100 #endif // ScriptCustomElementDefinition_h | 100 #endif // ScriptCustomElementDefinition_h |
OLD | NEW |