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 ce3730058b06cdc18835cbe5368fbc4d26216ed8..f12868643639ea1a45ea32e31117c98a79ffc016 100644 |
--- a/third_party/WebKit/public/platform/WebInputEvent.h |
+++ b/third_party/WebKit/public/platform/WebInputEvent.h |
@@ -278,6 +278,8 @@ class WebInputEvent { |
static constexpr double kTimeStampForTesting = 123.0; |
+ static const int32_t kMousePointerId = std::numeric_limits<int32_t>::max(); |
dtapuska
2017/05/01 15:49:05
Use constexpr.
Should this be in WebMouseEvent.h?
lanwei
2017/05/01 23:51:21
Done.
|
+ |
// Returns true if the WebInputEvent |type| is a mouse event. |
static bool IsMouseEventType(int type) { |
return kMouseTypeFirst <= type && type <= kMouseTypeLast; |