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

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

Issue 2289273002: Eraser tool type plumbing from ui/events to web events and PPAPI. (Closed)
Patch Set: cleanup 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/PointerEventFactory.cpp
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
index ef93631cd36dd7b0459ea194c434603f576bb1d1..4ca7e61e874a846d55d263cfcaad3cb2af24b636 100644
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp
@@ -21,6 +21,7 @@ const char* pointerTypeNameForWebPointPointerType(WebPointerProperties::PointerT
case WebPointerProperties::PointerType::Touch:
return "touch";
case WebPointerProperties::PointerType::Pen:
+ case WebPointerProperties::PointerType::Eraser:
bradnelson 2016/08/30 18:19:29 This meant to be the same for both ends?
denniskempin 2016/08/30 18:27:41 This is for the web apis, which do not support era
mustaq 2016/08/30 19:13:51 Yes, I will take care of Blink event handling. In
return "pen";
case WebPointerProperties::PointerType::Mouse:
return "mouse";

Powered by Google App Engine
This is Rietveld 408576698