Index: base/win_util.cc |
=================================================================== |
--- base/win_util.cc (revision 58389) |
+++ base/win_util.cc (working copy) |
@@ -385,6 +385,14 @@ |
return FormatMessage(GetLastError()); |
} |
+WORD KeyboardCodeToWin(base::KeyboardCode keycode) { |
+ return static_cast<WORD>(keycode); |
+} |
+ |
+base::KeyboardCode WinToKeyboardCode(WORD keycode) { |
+ return static_cast<base::KeyboardCode>(keycode); |
+} |
+ |
bool SetAppIdForPropertyStore(IPropertyStore* property_store, |
const wchar_t* app_id) { |
DCHECK(property_store); |