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

Unified Diff: Source/core/dom/custom/CustomElementLifecycleCallbacks.h

Issue 117313008: Update Custom Elements API to new names. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for forgotten tests. Created 7 years 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 | « Source/core/dom/custom/CustomElementCallbackScheduler.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElementLifecycleCallbacks.h
diff --git a/Source/core/dom/custom/CustomElementLifecycleCallbacks.h b/Source/core/dom/custom/CustomElementLifecycleCallbacks.h
index eb2f32fc00c9858ceed9198d90a8de736c197c88..aa182e625d97aaa497e172b1daecf2f1ef9864bf 100644
--- a/Source/core/dom/custom/CustomElementLifecycleCallbacks.h
+++ b/Source/core/dom/custom/CustomElementLifecycleCallbacks.h
@@ -45,11 +45,11 @@ public:
bool hasCreatedCallback() const { return m_which & Created; }
virtual void created(Element*) = 0;
- bool hasEnteredViewCallback() const { return m_which & EnteredView; }
- virtual void enteredView(Element*) = 0;
+ bool hasAttachedCallback() const { return m_which & Attached; }
+ virtual void attached(Element*) = 0;
- bool hasLeftViewCallback() const { return m_which & LeftView; }
- virtual void leftView(Element*) = 0;
+ bool hasDetachedCallback() const { return m_which & Detached; }
+ virtual void detached(Element*) = 0;
bool hasAttributeChangedCallback() const { return m_which & AttributeChanged; }
virtual void attributeChanged(Element*, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) = 0;
@@ -57,8 +57,8 @@ public:
enum CallbackType {
None = 0,
Created = 1 << 0,
- EnteredView = 1 << 1,
- LeftView = 1 << 2,
+ Attached = 1 << 1,
+ Detached = 1 << 2,
AttributeChanged = 1 << 3
};
« no previous file with comments | « Source/core/dom/custom/CustomElementCallbackScheduler.cpp ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698