| Index: third_party/WebKit/Source/core/events/Event.h
|
| diff --git a/third_party/WebKit/Source/core/events/Event.h b/third_party/WebKit/Source/core/events/Event.h
|
| index 8d296d982792a332cf61dd7c513e15b08508cf87..df8f1bd2ca22b110be29b2d82d4c2600bbd2de4e 100644
|
| --- a/third_party/WebKit/Source/core/events/Event.h
|
| +++ b/third_party/WebKit/Source/core/events/Event.h
|
| @@ -201,6 +201,15 @@ public:
|
| bool isTrusted() const { return m_isTrusted; }
|
| void setTrusted(bool value) { m_isTrusted = value; }
|
|
|
| + WebInputEventResult eventResult() const
|
| + {
|
| + if (defaultPrevented())
|
| + return WebInputEventResult::HandledApplication;
|
| + if (defaultHandled())
|
| + return WebInputEventResult::HandledSystem;
|
| + return WebInputEventResult::NotHandled;
|
| + }
|
| +
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
|
|