Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h

Issue 2060753002: Implement script-side of callback reactions for Custom Elements V1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@callback-ce
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1589b871786399a756e0a5107305e87a95a92ca0..4293471a6447b77445ebfe541734ed3f8168fb02 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h
@@ -50,14 +50,14 @@ 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;
+ v8::Local<v8::Function> m_connectedCallback;
+ v8::Local<v8::Function> m_disconnectedCallback;
+ v8::Local<v8::Function> m_attributeChangedCallback;
HashSet<AtomicString> m_observedAttributes;
ExceptionState& m_exceptionState;
bool valueForName(const v8::Local<v8::Object>&, const String&, v8::Local<v8::Value>&) const;
- bool callableForName(const String&, v8::Local<v8::Object>&) const;
+ bool callableForName(const String&, v8::Local<v8::Function>&) const;
bool retrieveObservedAttributes();
};

Powered by Google App Engine
This is Rietveld 408576698