Index: third_party/WebKit/Source/core/events/MouseEvent.h |
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h |
index eec939b184365b9c182f7d28dbb9afca903c9c74..1336e12c162299cbfc9523250efa263e88d33e22 100644 |
--- a/third_party/WebKit/Source/core/events/MouseEvent.h |
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h |
@@ -47,6 +47,8 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState { |
// Synthetic mouse events generated without a position, for example those |
// generated from keyboard input. |
kPositionless, |
+ // Synthetic mouse event derived from Select All (used for context menu). |
+ kFromSelectAll, |
}; |
static MouseEvent* Create() { return new MouseEvent; } |
@@ -110,6 +112,8 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState { |
bool FromTouch() const { return synthetic_event_type_ == kFromTouch; } |
+ bool FromSelectAll() const { return synthetic_event_type_ == kFromSelectAll; } |
+ |
const AtomicString& InterfaceName() const override; |
bool IsMouseEvent() const override; |