Index: app/keyboard_code_conversion_win.cc |
diff --git a/app/keyboard_code_conversion_win.cc b/app/keyboard_code_conversion_win.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2a7da8fbf6d9c420b750c51e0a919f274b1fb084 |
--- /dev/null |
+++ b/app/keyboard_code_conversion_win.cc |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "app/keyboard_code_conversion_win.h" |
+ |
+namespace app { |
+ |
+WORD WindowsKeyCodeForKeyboardCode(app::KeyboardCode keycode) { |
+ return static_cast<WORD>(keycode); |
+} |
+ |
+app::KeyboardCode KeyboardCodeForWindowsKeyCode(WORD keycode) { |
+ return static_cast<app::KeyboardCode>(keycode); |
+} |
+ |
+} // namespace app |