| Index: ui/events/event.cc
|
| diff --git a/ui/events/event.cc b/ui/events/event.cc
|
| index 894d5b0f2aded44d4880e4ce2d25b043c4d4477e..bf1bd848c87a87b31a726ecbeba563e50c2b6525 100644
|
| --- a/ui/events/event.cc
|
| +++ b/ui/events/event.cc
|
| @@ -168,6 +168,10 @@ bool Event::HasNativeEvent() const {
|
| return !!std::memcmp(&native_event_, &null_event, sizeof(null_event));
|
| }
|
|
|
| +void Event::DisableSynchronousHandling() {
|
| + result_ = static_cast<EventResult>(result_ | ER_DISABLE_SYNC_HANDLING);
|
| +}
|
| +
|
| void Event::StopPropagation() {
|
| // TODO(sad): Re-enable these checks once View uses dispatcher to dispatch
|
| // events.
|
|
|