Chromium Code Reviews| Index: ui/events/event_utils.h |
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
| index 87b720d58843ffccc425e3b2f324568a29118c6d..4fcfe8c1365c58a698eeb95fddef58bdddf10b0b 100644 |
| --- a/ui/events/event_utils.h |
| +++ b/ui/events/event_utils.h |
| @@ -70,6 +70,10 @@ EVENTS_EXPORT gfx::Point EventSystemLocationFromNative( |
| // button reported in master events do. This is a utility function to always |
| // return the mapped button. |
| EVENTS_EXPORT int EventButtonFromNative(const base::NativeEvent& native_event); |
| + |
| +// Returns the target for an event. |
| +EVENTS_EXPORT gfx::AcceleratedWidget EventTargetFromNative( |
| + const base::NativeEvent& native_event); |
|
sadrul
2014/07/21 06:57:59
Can this live inside desktop_window_tree_host_x11.
|
| #endif |
| // Returns the KeyboardCode from a native event. |