Chromium Code Reviews| Index: ui/events/event_utils.h |
| diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
| index fa22da847b33001d2b13907e0d57d3ea8402cfa8..e401bfd0244e5ecca6936497b99fe8fdc9e0626b 100644 |
| --- a/ui/events/event_utils.h |
| +++ b/ui/events/event_utils.h |
| @@ -82,6 +82,10 @@ EVENTS_EXPORT KeyboardCode KeyboardCodeFromNative( |
| EVENTS_EXPORT const char* CodeFromNative( |
| const base::NativeEvent& native_event); |
| +// Returns the platform related key code. For X11, it is xksym value. |
| +EVENTS_EXPORT uint32 PlatformCodeFromNative( |
|
Yuki
2014/06/16 07:34:24
I'm uneasy with this name because it's not clear w
Shu Chen
2014/06/16 08:06:48
I've renamed it as PlatformKeycodeFromNative(). Na
|
| + const base::NativeEvent& native_event); |
| + |
| // Returns the flags of the button that changed during a press/release. |
| EVENTS_EXPORT int GetChangedMouseButtonFlagsFromNative( |
| const base::NativeEvent& native_event); |