Index: ui/events/event_utils.h |
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h |
index fa22da847b33001d2b13907e0d57d3ea8402cfa8..87b720d58843ffccc425e3b2f324568a29118c6d 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 PlatformKeycodeFromNative( |
+ 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); |