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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2835223003: Use kCamelCase in Document::ListenerType enum (Closed)
Patch Set: renamed Created 3 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/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 14066c9866d81311f5a15e7d3c6af0f380dc92a9..c650a95bd9df0b206c80b9e9e4e8ca4b9fbbaa72 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -784,18 +784,18 @@ class CORE_EXPORT Document : public ContainerNode,
// keep track of what types of event listeners are registered, so we don't
// dispatch events unnecessarily
enum ListenerType {
- DOMSUBTREEMODIFIED_LISTENER = 1,
- DOMNODEINSERTED_LISTENER = 1 << 1,
- DOMNODEREMOVED_LISTENER = 1 << 2,
- DOMNODEREMOVEDFROMDOCUMENT_LISTENER = 1 << 3,
- DOMNODEINSERTEDINTODOCUMENT_LISTENER = 1 << 4,
- DOMCHARACTERDATAMODIFIED_LISTENER = 1 << 5,
- ANIMATIONEND_LISTENER = 1 << 6,
- ANIMATIONSTART_LISTENER = 1 << 7,
- ANIMATIONITERATION_LISTENER = 1 << 8,
- TRANSITIONEND_LISTENER = 1 << 9,
- SCROLL_LISTENER = 1 << 10,
- LOAD_LISTENER_AT_CAPTURE_PHASE_OR_AT_STYLE_ELEMENT = 1 << 11
+ kDOMSubtreeModifiedListener = 1,
+ kDOMNodeInsertedListener = 1 << 1,
+ kDOMNodeRemovedListener = 1 << 2,
+ kDOMNodeRemovedFromDocumentListener = 1 << 3,
+ kDOMNodeInsertedIntoDocumentListener = 1 << 4,
+ kDOMCharacterDataModifiedListener = 1 << 5,
+ kAnimationEndListener = 1 << 6,
+ kAnimationStartListener = 1 << 7,
+ kAnimationIterationListener = 1 << 8,
+ kTransitionEndListener = 1 << 9,
+ kScrollListener = 1 << 10,
+ kLoadListenerAtCapturePhaseOrAtStyleElement = 1 << 11
// 4 bits remaining
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/ContainerNode.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698