Index: ui/events/event_utils.h |
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
index 08bbfbc2e556d9a0f9c840ecccf0956af16de965..33a99a58eb2cec038e7819b90e927ac51c1d576e 100644 |
--- a/ui/events/event_utils.h |
+++ b/ui/events/event_utils.h |
@@ -32,6 +32,10 @@ class Event; |
// Updates the list of devices for cached properties. |
EVENTS_EXPORT void UpdateDeviceList(); |
+// Returns a ui::Event wrapping a native event. Ownership of the returned value |
+// is transferred to the caller. |
+EVENTS_EXPORT Event* EventFromNative(const base::NativeEvent& native_event); |
sadrul
2014/05/14 03:23:10
Return a scoped_ptr<>
flackr
2014/05/15 21:12:57
Done.
|
+ |
// Get the EventType from a native event. |
EVENTS_EXPORT EventType EventTypeFromNative( |
const base::NativeEvent& native_event); |