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

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

Issue 2235933002: Add POINTER_TYPE_ERASER to EventPointerType (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
« no previous file with comments | « components/exo/wayland/server.cc ('k') | ui/events/event_constants.h » ('j') | 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 202a669324c72735b93239e88b72f50a000e4efa..21e2cc1b3e1fdc5f5523d7b94eaa210c5b76a73e 100644
--- a/ui/events/blink/web_input_event.cc
+++ b/ui/events/blink/web_input_event.cc
@@ -38,6 +38,7 @@ 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_TOUCH:
return blink::WebPointerProperties::PointerType::Touch;
« no previous file with comments | « components/exo/wayland/server.cc ('k') | ui/events/event_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698