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

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

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 years, 8 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/V0CustomElementCallbackQueue.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementCallbackQueue.h b/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackQueue.h
similarity index 79%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementCallbackQueue.h
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackQueue.h
index c66132c4b6315764ad6a60529b18ccd75ad73c8d..7c7bb8e11527ab2399764224fc76550a92bcc3db 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementCallbackQueue.h
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementCallbackQueue.h
@@ -28,11 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CustomElementCallbackQueue_h
-#define CustomElementCallbackQueue_h
+#ifndef V0CustomElementCallbackQueue_h
+#define V0CustomElementCallbackQueue_h
#include "core/dom/Element.h"
-#include "core/dom/custom/CustomElementProcessingStep.h"
+#include "core/dom/custom/V0CustomElementProcessingStep.h"
#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
@@ -40,10 +40,10 @@ namespace blink {
// FIXME: Rename this because it contains resolution and upgrade as
// well as callbacks.
-class CustomElementCallbackQueue : public GarbageCollectedFinalized<CustomElementCallbackQueue> {
- WTF_MAKE_NONCOPYABLE(CustomElementCallbackQueue);
+class V0CustomElementCallbackQueue : public GarbageCollectedFinalized<V0CustomElementCallbackQueue> {
+ WTF_MAKE_NONCOPYABLE(V0CustomElementCallbackQueue);
public:
- static CustomElementCallbackQueue* create(Element*);
+ static V0CustomElementCallbackQueue* create(Element*);
typedef int ElementQueueId;
ElementQueueId owner() const { return m_owner; }
@@ -58,16 +58,16 @@ public:
bool processInElementQueue(ElementQueueId);
- void append(CustomElementProcessingStep* invocation) { m_queue.append(invocation); }
+ void append(V0CustomElementProcessingStep* invocation) { m_queue.append(invocation); }
bool inCreatedCallback() const { return m_inCreatedCallback; }
DECLARE_TRACE();
private:
- explicit CustomElementCallbackQueue(Element*);
+ explicit V0CustomElementCallbackQueue(Element*);
Member<Element> m_element;
- HeapVector<Member<CustomElementProcessingStep>> m_queue;
+ HeapVector<Member<V0CustomElementProcessingStep>> m_queue;
ElementQueueId m_owner;
size_t m_index;
bool m_inCreatedCallback;
@@ -75,4 +75,4 @@ private:
} // namespace blink
-#endif // CustomElementCallbackQueue_h
+#endif // V0CustomElementCallbackQueue_h

Powered by Google App Engine
This is Rietveld 408576698