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

Unified Diff: third_party/WebKit/Source/core/events/EventListener.h

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 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/events/EventListener.h
diff --git a/third_party/WebKit/Source/core/events/EventListener.h b/third_party/WebKit/Source/core/events/EventListener.h
index d7b46a83296e7d7398b83af06bdba0a04f1fd561..b2bb559a2fd665d0a92c99841fe9a126dedbb8db 100644
--- a/third_party/WebKit/Source/core/events/EventListener.h
+++ b/third_party/WebKit/Source/core/events/EventListener.h
@@ -33,7 +33,7 @@ class ExecutionContext;
class CORE_EXPORT EventListener : public RefCountedWillBeGarbageCollectedFinalized<EventListener> {
public:
- enum Type {
+ enum ListenerType {
JSEventListenerType,
ImageEventListenerType,
CPPEventListenerType,
@@ -49,12 +49,12 @@ public:
virtual bool belongsToTheCurrentWorld() const { return false; }
bool isAttribute() const { return virtualisAttribute(); }
- Type type() const { return m_type; }
+ ListenerType type() const { return m_type; }
DEFINE_INLINE_VIRTUAL_TRACE() { }
protected:
- explicit EventListener(Type type)
+ explicit EventListener(ListenerType type)
: m_type(type)
{
}
@@ -62,7 +62,7 @@ protected:
private:
virtual bool virtualisAttribute() const { return false; }
- Type m_type;
+ ListenerType m_type;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698