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

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

Issue 106903007: Let unresolved custom element go through CustomElementCallbackQueue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated test. Landing again. 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
Index: Source/core/dom/custom/CustomElementCallbackQueue.h
diff --git a/Source/core/dom/custom/CustomElementCallbackQueue.h b/Source/core/dom/custom/CustomElementCallbackQueue.h
index 269bfd29d4a819302512b2d232670480b6568371..49ebe1318b58311bb21fee935dd2d224a2c232a7 100644
--- a/Source/core/dom/custom/CustomElementCallbackQueue.h
+++ b/Source/core/dom/custom/CustomElementCallbackQueue.h
@@ -32,7 +32,7 @@
#define CustomElementCallbackQueue_h
#include "core/dom/Element.h"
-#include "core/dom/custom/CustomElementCallbackInvocation.h"
+#include "core/dom/custom/CustomElementProcessingStep.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefPtr.h"
@@ -40,6 +40,7 @@
namespace WebCore {
+// FIXME: Should be renamed to CustomElementProcessingQueue
class CustomElementCallbackQueue {
WTF_MAKE_NONCOPYABLE(CustomElementCallbackQueue);
public:
@@ -55,7 +56,7 @@ public:
m_owner = newOwner;
}
- void append(PassOwnPtr<CustomElementCallbackInvocation> invocation) { m_queue.append(invocation); }
+ void append(PassOwnPtr<CustomElementProcessingStep> invocation) { m_queue.append(invocation); }
void processInElementQueue(ElementQueue);
bool inCreatedCallback() const { return m_inCreatedCallback; }
@@ -63,7 +64,7 @@ private:
CustomElementCallbackQueue(PassRefPtr<Element>);
RefPtr<Element> m_element;
- Vector<OwnPtr<CustomElementCallbackInvocation> > m_queue;
+ Vector<OwnPtr<CustomElementProcessingStep> > m_queue;
ElementQueue m_owner;
size_t m_index;
bool m_inCreatedCallback;
« no previous file with comments | « Source/core/dom/custom/CustomElementCallbackInvocation.cpp ('k') | Source/core/dom/custom/CustomElementCallbackScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698