Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/base/events/event_functions.h" | |
| 6 | |
| 7 #include "ui/base/events/event.h" | |
| 8 #include "ui/base/events/event_constants.h" | |
| 9 | |
| 10 namespace ui { | |
| 11 | |
| 12 bool EventCanceledDefaultHandling(const ui::Event& event) { | |
| 13 return event.phase() == EP_POSTTARGET && event.result() != ER_UNHANDLED; | |
| 14 } | |
| 15 | |
| 16 } // namespace ui | |
| 17 | |
| OLD | NEW |