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

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

Issue 2002063003: Change "bool createdByParser" of createElement() to enum (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cestate
Patch Set: Add ImportNode Created 4 years, 7 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/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 b37b8d78eb0ccf31692631e8587ccb4965040740..7b9dcccc3921ced551871506c108def492927dc4 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.h
@@ -6,6 +6,7 @@
#define CustomElement_h
#include "core/CoreExport.h"
+#include "core/dom/Document.h"
#include "wtf/Allocator.h"
#include "wtf/text/AtomicString.h"
@@ -23,8 +24,8 @@ public:
static bool shouldCreateCustomElement(Document&, const AtomicString& localName);
static bool shouldCreateCustomElement(Document&, const QualifiedName&);
- static HTMLElement* createCustomElement(Document&, const AtomicString& localName);
- static HTMLElement* createCustomElement(Document&, const QualifiedName&);
+ static HTMLElement* createCustomElement(Document&, const AtomicString& localName, CreateElementFlags);
+ static HTMLElement* createCustomElement(Document&, const QualifiedName&, CreateElementFlags);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.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