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

Unified Diff: ui/events/blink/blink_event_util.cc

Issue 2289273002: Eraser tool type plumbing from ui/events to web events and PPAPI. (Closed)
Patch Set: The CQ works! We were stripping the SHIFT mod from NaCL events. Fixed. Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/public/platform/WebPointerProperties.h ('k') | ui/events/blink/web_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/blink_event_util.cc
diff --git a/ui/events/blink/blink_event_util.cc b/ui/events/blink/blink_event_util.cc
index f2990685462cd17a7e3f63aa82d273821acd215f..85431f1537b8616398acf0cc2680a2271a875b71 100644
--- a/ui/events/blink/blink_event_util.cc
+++ b/ui/events/blink/blink_event_util.cc
@@ -475,7 +475,7 @@ WebPointerProperties::PointerType ToWebPointerType(
case MotionEvent::TOOL_TYPE_MOUSE:
return WebPointerProperties::PointerType::Mouse;
case MotionEvent::TOOL_TYPE_ERASER:
- return WebPointerProperties::PointerType::Unknown;
+ return WebPointerProperties::PointerType::Eraser;
}
NOTREACHED() << "Invalid MotionEvent::ToolType = " << tool_type;
return WebPointerProperties::PointerType::Unknown;
« no previous file with comments | « third_party/WebKit/public/platform/WebPointerProperties.h ('k') | ui/events/blink/web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698