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 ScriptCustomElementDefinitionBuilder_h | 5 #ifndef ScriptCustomElementDefinitionBuilder_h |
6 #define ScriptCustomElementDefinitionBuilder_h | 6 #define ScriptCustomElementDefinitionBuilder_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/dom/custom/CustomElementDefinitionBuilder.h" | 9 #include "core/dom/custom/CustomElementDefinitionBuilder.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 static ScriptCustomElementDefinitionBuilder* s_stack; | 45 static ScriptCustomElementDefinitionBuilder* s_stack; |
46 | 46 |
47 ScriptCustomElementDefinitionBuilder* m_prev; | 47 ScriptCustomElementDefinitionBuilder* m_prev; |
48 RefPtr<ScriptState> m_scriptState; | 48 RefPtr<ScriptState> m_scriptState; |
49 Member<CustomElementsRegistry> m_registry; | 49 Member<CustomElementsRegistry> m_registry; |
50 v8::Local<v8::Value> m_constructorValue; | 50 v8::Local<v8::Value> m_constructorValue; |
51 v8::Local<v8::Object> m_constructor; | 51 v8::Local<v8::Object> m_constructor; |
52 v8::Local<v8::Object> m_prototype; | 52 v8::Local<v8::Object> m_prototype; |
53 v8::Local<v8::Function> m_connectedCallback; | 53 v8::Local<v8::Function> m_connectedCallback; |
54 v8::Local<v8::Function> m_disconnectedCallback; | 54 v8::Local<v8::Function> m_disconnectedCallback; |
| 55 v8::Local<v8::Function> m_adoptedCallback; |
55 v8::Local<v8::Function> m_attributeChangedCallback; | 56 v8::Local<v8::Function> m_attributeChangedCallback; |
56 HashSet<AtomicString> m_observedAttributes; | 57 HashSet<AtomicString> m_observedAttributes; |
57 ExceptionState& m_exceptionState; | 58 ExceptionState& m_exceptionState; |
58 | 59 |
59 bool valueForName(const v8::Local<v8::Object>&, const String&, v8::Local<v8:
:Value>&) const; | 60 bool valueForName(const v8::Local<v8::Object>&, const String&, v8::Local<v8:
:Value>&) const; |
60 bool callableForName(const String&, v8::Local<v8::Function>&) const; | 61 bool callableForName(const String&, v8::Local<v8::Function>&) const; |
61 bool retrieveObservedAttributes(); | 62 bool retrieveObservedAttributes(); |
62 }; | 63 }; |
63 | 64 |
64 } // namespace blink | 65 } // namespace blink |
65 | 66 |
66 #endif // ScriptCustomElementDefinitionBuilder_h | 67 #endif // ScriptCustomElementDefinitionBuilder_h |
OLD | NEW |