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