Index: ui/base/keycodes/keyboard_code_conversion_win.cc |
=================================================================== |
--- ui/base/keycodes/keyboard_code_conversion_win.cc (revision 0) |
+++ ui/base/keycodes/keyboard_code_conversion_win.cc (revision 0) |
@@ -0,0 +1,17 @@ |
+// Copyright (c) 2011 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 "ui/base/keycodes/keyboard_code_conversion_win.h" |
+ |
+namespace ui { |
+ |
+WORD WindowsKeyCodeForKeyboardCode(KeyboardCode keycode) { |
+ return static_cast<WORD>(keycode); |
+} |
+ |
+KeyboardCode KeyboardCodeForWindowsKeyCode(WORD keycode) { |
+ return static_cast<KeyboardCode>(keycode); |
+} |
+ |
+} // namespace ui |
Property changes on: ui\base\keycodes\keyboard_code_conversion_win.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |