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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2289273002: Eraser tool type plumbing from ui/events to web events and PPAPI. (Closed)
Patch Set: 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/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index e26e7525929590b5e32515707b3a01443728d931..818888de8a2b0144e3188111c24ae97b0bf546f7 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -187,6 +187,10 @@ public:
SymbolKey = 1 << 17,
ScrollLockOn = 1 << 18,
+
+ // Indicates that a stylys event is using an eraser tool instead of a
+ // pen tool. Used by PPAPI.
+ IsEraser = 1 << 19
mustaq 2016/08/30 18:13:48 Having both |IsEraser| and |PointerType::Eraser| l
};
// Indicates whether the browser needs to block on the ACK result for

Powered by Google App Engine
This is Rietveld 408576698