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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElement.h

Issue 2505573002: CustomElements: createCustomElementSync accepts a definition (Closed)
Patch Set: createCustomElementSync accepts a definition Created 4 years, 1 month 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/core/dom/custom/CustomElement.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.h b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
index 7ae3bca0790325241552832c4462fbab82a31fbb..10fe1ab03af5d7429d64a0aa03105923d67b2af4 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
@@ -64,15 +64,17 @@ class CORE_EXPORT CustomElement {
static bool shouldCreateCustomElement(const AtomicString& localName);
static bool shouldCreateCustomElement(const QualifiedName&);
-
- static HTMLElement* createCustomElementSync(
- Document&,
- const AtomicString& localName,
- const AtomicString& is = AtomicString());
- static HTMLElement* createCustomElementSync(
- Document&,
- const QualifiedName&,
- const AtomicString& is = AtomicString());
+ static bool shouldCreateCustomizedBuiltinElement(
+ const AtomicString& localName);
+ static bool shouldCreateCustomizedBuiltinElement(const QualifiedName&);
+
+ static HTMLElement* createCustomElementSync(Document&, const QualifiedName&);
+ static HTMLElement* createCustomElementSync(Document&,
+ const AtomicString& localName,
+ CustomElementDefinition*);
+ static HTMLElement* createCustomElementSync(Document&,
+ const QualifiedName&,
+ CustomElementDefinition*);
static HTMLElement* createCustomElementAsync(Document&, const QualifiedName&);
static HTMLElement* createFailedElement(Document&, const QualifiedName&);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698