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

Unified Diff: Source/core/dom/CustomElementCallbackQueue.h

Issue 18167006: Implement Custom Elements' entered and left document callbacks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback. Created 7 years, 5 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 | « Source/core/dom/CustomElementCallbackInvocation.cpp ('k') | Source/core/dom/CustomElementCallbackQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CustomElementCallbackQueue.h
diff --git a/Source/core/dom/CustomElementCallbackQueue.h b/Source/core/dom/CustomElementCallbackQueue.h
index 288aaf51aaba2380dd0e0eadd6963a808c139cbc..7e39486035d0827709cd2dbd53fccc6213182ee1 100644
--- a/Source/core/dom/CustomElementCallbackQueue.h
+++ b/Source/core/dom/CustomElementCallbackQueue.h
@@ -32,7 +32,6 @@
#define CustomElementCallbackQueue_h
#include "core/dom/CustomElementCallbackInvocation.h"
-#include "core/dom/CustomElementLifecycleCallbacks.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -43,7 +42,7 @@ namespace WebCore {
class CustomElementCallbackQueue {
WTF_MAKE_NONCOPYABLE(CustomElementCallbackQueue);
public:
- static PassOwnPtr<CustomElementCallbackQueue> create(PassRefPtr<CustomElementLifecycleCallbacks>, PassRefPtr<Element>);
+ static PassOwnPtr<CustomElementCallbackQueue> create(PassRefPtr<Element>);
typedef int ElementQueue;
ElementQueue owner() { return m_owner; }
@@ -56,13 +55,11 @@ public:
}
void append(PassOwnPtr<CustomElementCallbackInvocation> invocation) { m_queue.append(invocation); }
-
void processInElementQueue(ElementQueue);
private:
- CustomElementCallbackQueue(PassRefPtr<CustomElementLifecycleCallbacks>, PassRefPtr<Element>);
+ CustomElementCallbackQueue(PassRefPtr<Element>);
- RefPtr<CustomElementLifecycleCallbacks> m_callbacks;
RefPtr<Element> m_element;
Vector<OwnPtr<CustomElementCallbackInvocation> > m_queue;
ElementQueue m_owner;
« no previous file with comments | « Source/core/dom/CustomElementCallbackInvocation.cpp ('k') | Source/core/dom/CustomElementCallbackQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698