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

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

Issue 503043003: Rename CustomElementCallbackDispatcher (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TBR added Created 6 years, 3 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: Source/core/dom/custom/CustomElementProcessingStack.h
diff --git a/Source/core/dom/custom/CustomElementCallbackDispatcher.h b/Source/core/dom/custom/CustomElementProcessingStack.h
similarity index 90%
rename from Source/core/dom/custom/CustomElementCallbackDispatcher.h
rename to Source/core/dom/custom/CustomElementProcessingStack.h
index 34bd98e9160847d346258026449a5a68ded78d5d..1b6eb71de25845c0af7fcadaf40f6616db7e757e 100644
--- a/Source/core/dom/custom/CustomElementCallbackDispatcher.h
+++ b/Source/core/dom/custom/CustomElementProcessingStack.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef CustomElementCallbackDispatcher_h
-#define CustomElementCallbackDispatcher_h
+#ifndef CustomElementProcessingStack_h
+#define CustomElementProcessingStack_h
#include "core/dom/custom/CustomElementCallbackQueue.h"
#include "wtf/Vector.h"
@@ -38,10 +38,8 @@ namespace blink {
class CustomElementScheduler;
-// FIXME: Rename this CustomElementProcessingStack. It only handles
-// the processing stack.
-class CustomElementCallbackDispatcher {
- WTF_MAKE_NONCOPYABLE(CustomElementCallbackDispatcher);
+class CustomElementProcessingStack {
+ WTF_MAKE_NONCOPYABLE(CustomElementProcessingStack);
public:
// This is stack allocated in many DOM callbacks. Make it cheap.
class CallbackDeliveryScope {
@@ -67,11 +65,11 @@ public:
protected:
friend class CustomElementScheduler;
- static CustomElementCallbackDispatcher& instance();
+ static CustomElementProcessingStack& instance();
void enqueue(CustomElementCallbackQueue*);
private:
- CustomElementCallbackDispatcher()
+ CustomElementProcessingStack()
{
// Add a null element as a sentinel. This makes it possible to
// identify elements queued when there is no
@@ -106,4 +104,4 @@ private:
}
-#endif // CustomElementCallbackDispatcher_h
+#endif // CustomElementProcessingStack_h
« no previous file with comments | « Source/core/dom/custom/CustomElementMicrotaskQueueBase.cpp ('k') | Source/core/dom/custom/CustomElementProcessingStack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698