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

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

Issue 2477713003: Custom Elements: Check Definition in createElement, Create Customized Built-in Elements Sync (Closed)
Patch Set: patch fix 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 840e3f22ebd29473d7da5cbdf888755db7d1ce2f..7ae3bca0790325241552832c4462fbab82a31fbb 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
@@ -65,9 +65,14 @@ class CORE_EXPORT CustomElement {
static bool shouldCreateCustomElement(const AtomicString& localName);
static bool shouldCreateCustomElement(const QualifiedName&);
- static HTMLElement* createCustomElementSync(Document&,
- const AtomicString& localName);
- static HTMLElement* createCustomElementSync(Document&, const QualifiedName&);
+ static HTMLElement* createCustomElementSync(
+ Document&,
+ const AtomicString& localName,
+ const AtomicString& is = AtomicString());
+ static HTMLElement* createCustomElementSync(
+ Document&,
+ const QualifiedName&,
+ const AtomicString& is = AtomicString());
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