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

Unified Diff: third_party/WebKit/Source/core/events/TouchEvent.cpp

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/TouchEvent.cpp
diff --git a/third_party/WebKit/Source/core/events/TouchEvent.cpp b/third_party/WebKit/Source/core/events/TouchEvent.cpp
index c190cafa74007db4ae7be8f81a243daf6436ff46..a3c0b95b90a5284e26ee854ea2066ab11d34e9a0 100644
--- a/third_party/WebKit/Source/core/events/TouchEvent.cpp
+++ b/third_party/WebKit/Source/core/events/TouchEvent.cpp
@@ -105,15 +105,15 @@ void logTouchTargetHistogram(EventTarget* eventTarget, unsigned short phase, boo
switch (phase) {
default:
- case Event::NONE:
+ case Event::kNone:
return;
- case Event::CAPTURING_PHASE:
+ case Event::kCapturingPhase:
result += kCapturingOffset;
break;
- case Event::AT_TARGET:
+ case Event::kAtTarget:
result += kAtTargetOffset;
break;
- case Event::BUBBLING_PHASE:
+ case Event::kBubblingPhase:
result += kBubblingOffset;
break;
}
« no previous file with comments | « third_party/WebKit/Source/core/events/MutationEvent.h ('k') | third_party/WebKit/Source/core/events/WheelEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698