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

Unified Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp

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/V0CustomElementProcessingStack.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
similarity index 74%
rename from third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp
rename to third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
index fc7e1209487662030cb951322adbfa14dad7ba81..7988ae04d18a385a115b82d95937bf816fe5e86f 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementProcessingStack.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementProcessingStack.cpp
@@ -28,34 +28,34 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "core/dom/custom/CustomElementProcessingStack.h"
+#include "core/dom/custom/V0CustomElementProcessingStack.h"
-#include "core/dom/custom/CustomElementCallbackQueue.h"
-#include "core/dom/custom/CustomElementScheduler.h"
+#include "core/dom/custom/V0CustomElementCallbackQueue.h"
+#include "core/dom/custom/V0CustomElementScheduler.h"
namespace blink {
-size_t CustomElementProcessingStack::s_elementQueueStart = 0;
+size_t V0CustomElementProcessingStack::s_elementQueueStart = 0;
// The base of the stack has a null sentinel value.
-size_t CustomElementProcessingStack::s_elementQueueEnd = kNumSentinels;
+size_t V0CustomElementProcessingStack::s_elementQueueEnd = kNumSentinels;
-CustomElementProcessingStack& CustomElementProcessingStack::instance()
+V0CustomElementProcessingStack& V0CustomElementProcessingStack::instance()
{
- DEFINE_STATIC_LOCAL(CustomElementProcessingStack, instance, (new CustomElementProcessingStack));
+ DEFINE_STATIC_LOCAL(V0CustomElementProcessingStack, instance, (new V0CustomElementProcessingStack));
return instance;
}
// Dispatches callbacks when popping the processing stack.
-void CustomElementProcessingStack::processElementQueueAndPop()
+void V0CustomElementProcessingStack::processElementQueueAndPop()
{
instance().processElementQueueAndPop(s_elementQueueStart, s_elementQueueEnd);
}
-void CustomElementProcessingStack::processElementQueueAndPop(size_t start, size_t end)
+void V0CustomElementProcessingStack::processElementQueueAndPop(size_t start, size_t end)
{
DCHECK(isMainThread());
- CustomElementCallbackQueue::ElementQueueId thisQueue = currentElementQueue();
+ V0CustomElementCallbackQueue::ElementQueueId thisQueue = currentElementQueue();
for (size_t i = start; i < end; ++i) {
{
@@ -74,10 +74,10 @@ void CustomElementProcessingStack::processElementQueueAndPop(size_t start, size_
s_elementQueueEnd = start;
if (s_elementQueueStart == kNumSentinels)
- CustomElementScheduler::callbackDispatcherDidFinish();
+ V0CustomElementScheduler::callbackDispatcherDidFinish();
}
-void CustomElementProcessingStack::enqueue(CustomElementCallbackQueue* callbackQueue)
+void V0CustomElementProcessingStack::enqueue(V0CustomElementCallbackQueue* callbackQueue)
{
DCHECK(inCallbackDeliveryScope());
@@ -90,7 +90,7 @@ void CustomElementProcessingStack::enqueue(CustomElementCallbackQueue* callbackQ
++s_elementQueueEnd;
}
-DEFINE_TRACE(CustomElementProcessingStack)
+DEFINE_TRACE(V0CustomElementProcessingStack)
{
visitor->trace(m_flattenedProcessingStack);
}

Powered by Google App Engine
This is Rietveld 408576698