Index: ui/base/keycodes/keyboard_code_conversion_x.h |
diff --git a/ui/base/keycodes/keyboard_code_conversion_x.h b/ui/base/keycodes/keyboard_code_conversion_x.h |
index 77794835c5b9d0e4c608993dbf188bb5d45708da..f394de17b9b0446e211c51db63845039be919aae 100644 |
--- a/ui/base/keycodes/keyboard_code_conversion_x.h |
+++ b/ui/base/keycodes/keyboard_code_conversion_x.h |
@@ -5,6 +5,7 @@ |
#ifndef UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_X_H_ |
#define UI_BASE_KEYCODES_KEYBOARD_CODE_CONVERSION_X_H_ |
+#include "base/basictypes.h" |
#include "ui/base/keycodes/keyboard_codes_posix.h" |
#include "ui/base/ui_export.h" |
@@ -16,8 +17,8 @@ UI_EXPORT KeyboardCode KeyboardCodeFromXKeyEvent(XEvent* xev); |
UI_EXPORT KeyboardCode KeyboardCodeFromXKeysym(unsigned int keysym); |
-// Returns a key symbol on a standard US PC keyboard from an XEvent. |
-UI_EXPORT unsigned int DefaultSymbolFromXEvent(XEvent* xev); |
+// Returns a character on a standard US PC keyboard from an XEvent. |
+UI_EXPORT uint16 GetCharacterFromXEvent(XEvent* xev); |
// Converts a KeyboardCode into an X KeySym. |
UI_EXPORT int XKeysymForWindowsKeyCode(KeyboardCode keycode, bool shift); |