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

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

Issue 1952893003: Implement custom element construction and some 'define' checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement feedback. 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/V0CustomElementRegistrationContext.h
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
index b3e41662c75cfc24399d164b98f21cd5c5c4278f..5e6fc247a45abe4e3bf20dca7a73993a234e5aab 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementRegistrationContext.h
@@ -40,6 +40,8 @@
namespace blink {
+class CustomElementsRegistry;
+
class V0CustomElementRegistrationContext final : public GarbageCollectedFinalized<V0CustomElementRegistrationContext> {
public:
static V0CustomElementRegistrationContext* create()
@@ -59,6 +61,9 @@ public:
void resolve(Element*, const V0CustomElementDescriptor&);
+ bool nameIsDefined(const AtomicString& name) const;
+ void setV1(const CustomElementsRegistry*);
+
DECLARE_TRACE();
protected:
@@ -79,4 +84,3 @@ private:
} // namespace blink
#endif // V0CustomElementRegistrationContext_h
-

Powered by Google App Engine
This is Rietveld 408576698