| Index: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
|
| index b6d98ab1cee403410831c3e29a54a7eb8af56ff2..d60e9c9514a649becee05d3d90ae8ad9cee01343 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
|
| @@ -10,8 +10,11 @@
|
| #include "platform/heap/Handle.h"
|
| #include "v8.h"
|
| #include "wtf/Allocator.h"
|
| +#include "wtf/HashSet.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/RefPtr.h"
|
| +#include "wtf/text/AtomicString.h"
|
| +#include "wtf/text/AtomicStringHash.h"
|
|
|
| namespace blink {
|
|
|
| @@ -34,6 +37,7 @@ public:
|
| bool checkConstructorIntrinsics() override;
|
| bool checkConstructorNotRegistered() override;
|
| bool checkPrototype() override;
|
| + bool cacheProperties() override;
|
| CustomElementDefinition* build(const CustomElementDescriptor&) override;
|
|
|
| private:
|
| @@ -42,7 +46,16 @@ private:
|
| v8::Local<v8::Value> m_constructorValue;
|
| v8::Local<v8::Object> m_constructor;
|
| v8::Local<v8::Object> m_prototype;
|
| + v8::Local<v8::Object> m_connectedCallback;
|
| + v8::Local<v8::Object> m_disconnectedCallback;
|
| + v8::Local<v8::Object> m_attributeChangedCallback;
|
| + HashSet<AtomicString> m_observedAttributes;
|
| ExceptionState& m_exceptionState;
|
| +
|
| + bool valueForName(const v8::Local<v8::Object>&, const char*,
|
| + v8::Local<v8::Value>&) const;
|
| + bool callableForName(const char*, v8::Local<v8::Object>&) const;
|
| + bool cacheObservedAttributes();
|
| };
|
|
|
| } // namespace blink
|
|
|