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

Unified Diff: ui/events/blink/web_input_event.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 | « ui/events/blink/blink_event_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/web_input_event.cc
diff --git a/ui/events/blink/web_input_event.cc b/ui/events/blink/web_input_event.cc
index aaea0696d7207b4b8b945007b180f0f9ef0011f6..8b3a3b6a1b5ccab21a4817614f9d76c22d4a4260 100644
--- a/ui/events/blink/web_input_event.cc
+++ b/ui/events/blink/web_input_event.cc
@@ -36,8 +36,9 @@ blink::WebPointerProperties::PointerType EventPointerTypeToWebPointerType(
case EventPointerType::POINTER_TYPE_MOUSE:
return blink::WebPointerProperties::PointerType::Mouse;
case EventPointerType::POINTER_TYPE_PEN:
- case EventPointerType::POINTER_TYPE_ERASER:
return blink::WebPointerProperties::PointerType::Pen;
+ case EventPointerType::POINTER_TYPE_ERASER:
+ return blink::WebPointerProperties::PointerType::Eraser;
case EventPointerType::POINTER_TYPE_TOUCH:
return blink::WebPointerProperties::PointerType::Touch;
}
« no previous file with comments | « ui/events/blink/blink_event_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698