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

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

Issue 2170383002: CustomElements: adopt node (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge conflict resolution Created 4 years, 4 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/CustomElementDefinition.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
index eead3c526ef6c9cdb136eb53e4e43876400735aa..0bf974f57d4b278841c4f18eb7313547dce5ed41 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.h
@@ -56,17 +56,20 @@ public:
virtual bool hasConnectedCallback() const = 0;
virtual bool hasDisconnectedCallback() const = 0;
+ virtual bool hasAdoptedCallback() const = 0;
bool hasAttributeChangedCallback(const QualifiedName&) const;
bool hasStyleAttributeChangedCallback() const;
virtual void runConnectedCallback(Element*) = 0;
virtual void runDisconnectedCallback(Element*) = 0;
+ virtual void runAdoptedCallback(Element*) = 0;
virtual void runAttributeChangedCallback(Element*, const QualifiedName&,
const AtomicString& oldValue, const AtomicString& newValue) = 0;
void enqueueUpgradeReaction(Element*);
void enqueueConnectedCallback(Element*);
void enqueueDisconnectedCallback(Element*);
+ void enqueueAdoptedCallback(Element*);
void enqueueAttributeChangedCallback(Element*, const QualifiedName&,
const AtomicString& oldValue, const AtomicString& newValue);

Powered by Google App Engine
This is Rietveld 408576698