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

Unified Diff: sky/engine/core/dom/Element.h

Issue 943013002: Implement Custom Elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: attributeChanged***d***Callback Created 5 years, 10 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: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index 63671715ab605f5e2b8e73b214b79ef5e60ce67f..c595d43b107bd24e2088addbd5b2cbd26c875d8e 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -66,6 +66,9 @@ enum SpellcheckAttributeState {
class Element : public ContainerNode {
DEFINE_WRAPPERTYPEINFO();
public:
+ // Used for custom elements.
+ static PassRefPtr<Element> create(Document& document, const AtomicString& tagName);
+
static PassRefPtr<Element> create(const QualifiedName&, Document*);
virtual ~Element();

Powered by Google App Engine
This is Rietveld 408576698