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

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

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/Event.h
diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
index 0c42ab19e38a0ec2e61d80833d791229332bbce4..6f99b06899f8fc90bdb598086df6bfa3e3b3aba2 100644
--- a/third_party/WebKit/Source/core/events/Event.h
+++ b/third_party/WebKit/Source/core/events/Event.h
@@ -43,29 +43,29 @@ class CORE_EXPORT Event : public GarbageCollectedFinalized<Event>, public Scrip
DEFINE_WRAPPERTYPEINFO();
public:
enum PhaseType {
- NONE = 0,
- CAPTURING_PHASE = 1,
- AT_TARGET = 2,
- BUBBLING_PHASE = 3
+ kNone = 0,
+ kCapturingPhase = 1,
+ kAtTarget = 2,
+ kBubblingPhase = 3
};
enum EventType {
- MOUSEDOWN = 1,
- MOUSEUP = 2,
- MOUSEOVER = 4,
- MOUSEOUT = 8,
- MOUSEMOVE = 16,
- MOUSEDRAG = 32,
- CLICK = 64,
- DBLCLICK = 128,
- KEYDOWN = 256,
- KEYUP = 512,
- KEYPRESS = 1024,
- DRAGDROP = 2048,
- FOCUS = 4096,
- BLUR = 8192,
- SELECT = 16384,
- CHANGE = 32768
+ kMousedown = 1,
+ kMouseup = 2,
+ kMouseover = 4,
+ kMouseout = 8,
+ kMousemove = 16,
+ kMousedrag = 32,
+ kClick = 64,
+ kDblclick = 128,
+ kKeydown = 256,
+ kKeyup = 512,
+ kKeypress = 1024,
+ kDragdrop = 2048,
+ kFocus = 4096,
+ kBlur = 8192,
+ kSelect = 16384,
+ kChange = 32768
};
enum RailsMode {

Powered by Google App Engine
This is Rietveld 408576698