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

Unified Diff: third_party/WebKit/Source/web/WebInputEvent.cpp

Issue 2611823003: ABANDONED CL: Changes to compile and pass tests after Big Blink Rename (excluding functions). (Closed)
Patch Set: Inducing merge conflicts to force human review and changes after rename. Created 3 years, 11 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/web/WebInputEvent.cpp
diff --git a/third_party/WebKit/Source/web/WebInputEvent.cpp b/third_party/WebKit/Source/web/WebInputEvent.cpp
index ac01696152f6974aebc7320d13395463237aa5a1..1a0cfa3d176883bf80df2356fb5e440bfb254210 100644
--- a/third_party/WebKit/Source/web/WebInputEvent.cpp
+++ b/third_party/WebKit/Source/web/WebInputEvent.cpp
@@ -80,11 +80,13 @@ static_assert(sizeof(WebTouchEvent) == sizeof(SameSizeAsWebTouchEvent),
"WebTouchEvent should not have gaps");
#define CASE_TYPE(t) \
- case WebInputEvent::t: \
+ case WebInputEvent::k##t: \
return #t
// static
const char* WebInputEvent::GetName(WebInputEvent::Type type) {
switch (type) {
+ /* DO NOT SUBMIT - Conflict resolution helper:
+ * important to use Undefined, rather than kUndefined below. */
CASE_TYPE(Undefined);
CASE_TYPE(MouseDown);
CASE_TYPE(MouseUp);
@@ -119,6 +121,8 @@ const char* WebInputEvent::GetName(WebInputEvent::Type type) {
CASE_TYPE(TouchEnd);
CASE_TYPE(TouchCancel);
CASE_TYPE(TouchScrollStarted);
+ /* DO NOT SUBMIT - Conflict resolution helper:
+ * important to use TouchScrollStarted, rather than kTouchSc... above. */
default:
NOTREACHED();
return "";

Powered by Google App Engine
This is Rietveld 408576698