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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.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/CustomElementAdoptedCallbackReaction.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeReaction.h b/third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.h
similarity index 57%
copy from third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeReaction.h
copy to third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.h
index 6d6092bed300605cb3a7e1562a4d7c4dcecaf005..717c67b5b224a43be58d718bb511f43e189893e8 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementUpgradeReaction.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementAdoptedCallbackReaction.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CustomElementUpgradeReaction_h
-#define CustomElementUpgradeReaction_h
+#ifndef CustomElementAdoptedCallbackReaction_h
+#define CustomElementAdoptedCallbackReaction_h
#include "core/CoreExport.h"
#include "core/dom/custom/CustomElementReaction.h"
@@ -12,13 +12,11 @@
namespace blink {
-class Element;
-
-class CORE_EXPORT CustomElementUpgradeReaction final
+class CORE_EXPORT CustomElementAdoptedCallbackReaction final
: public CustomElementReaction {
- WTF_MAKE_NONCOPYABLE(CustomElementUpgradeReaction);
+ WTF_MAKE_NONCOPYABLE(CustomElementAdoptedCallbackReaction);
public:
- CustomElementUpgradeReaction(CustomElementDefinition*);
+ CustomElementAdoptedCallbackReaction(CustomElementDefinition*);
private:
void invoke(Element*) override;
@@ -26,4 +24,4 @@ private:
} // namespace blink
-#endif // CustomElementUpgradeReaction_h
+#endif // CustomElementAdoptedCallbackReaction_h

Powered by Google App Engine
This is Rietveld 408576698