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

Unified Diff: sky/engine/core/dom/custom/CustomElement.h

Issue 838463004: Remove embedder custom elements. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/custom/CustomElement.h
diff --git a/sky/engine/core/dom/custom/CustomElement.h b/sky/engine/core/dom/custom/CustomElement.h
index ea7982b24f4302b7568437b917bbab4d10b176e3..5ffb63f54936b9f3cc51eb141b0e187eaf5c44a7 100644
--- a/sky/engine/core/dom/custom/CustomElement.h
+++ b/sky/engine/core/dom/custom/CustomElement.h
@@ -48,13 +48,7 @@ class HTMLImportChild;
class CustomElement {
public:
- enum NameSet {
- EmbedderNames = 1 << 0,
- StandardNames = 1 << 1,
- AllNames = EmbedderNames | StandardNames
- };
- static bool isValidName(const AtomicString& name, NameSet validNames = AllNames);
- static void addEmbedderCustomElementName(const AtomicString& name);
+ static bool isValidName(const AtomicString& name);
// API to notify of document-level changes
static CustomElementMicrotaskImportStep* didCreateImport(HTMLImportChild*);
@@ -72,8 +66,6 @@ public:
private:
CustomElement();
-
- static Vector<AtomicString>& embedderCustomElementNames();
};
}
« no previous file with comments | « sky/engine/core/dom/Document.cpp ('k') | sky/engine/core/dom/custom/CustomElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698