OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_KEYMAP_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_KEYMAP_H_ | |
7 | |
8 #include <string> | |
9 #include "base/basictypes.h" | |
10 | |
11 namespace chromeos { | |
12 namespace input_method { | |
13 | |
14 // Translates the key value from an IBus constant to a string. | |
15 std::string GetIBusKey(int keyval); | |
16 | |
17 // Translates the unmodified keycode from an IBus constant to a string. | |
18 std::string GetIBusKeyCode(uint16 keycode); | |
19 | |
20 } // namespace input_method | |
21 } // namespace chromeos | |
22 | |
23 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_IBUS_KEYMAP_H_ | |
OLD | NEW |