OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ | 5 #ifndef UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ |
6 #define UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ | 6 #define UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "ui/base/ui_base_export.h" | 10 #include "ui/base/ime/ui_base_ime_export.h" |
11 #include "ui/events/keycodes/keyboard_codes.h" | 11 #include "ui/events/keycodes/keyboard_codes.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 | 14 |
15 // Translates the DOM4 key code string to ui::KeyboardCode. | 15 // Translates the DOM4 key code string to ui::KeyboardCode. |
16 UI_BASE_EXPORT KeyboardCode DomKeycodeToKeyboardCode(const std::string& code); | 16 UI_BASE_IME_EXPORT KeyboardCode |
| 17 DomKeycodeToKeyboardCode(const std::string& code); |
17 | 18 |
18 // Translates the ui::KeyboardCode to DOM4 key code string. | 19 // Translates the ui::KeyboardCode to DOM4 key code string. |
19 UI_BASE_EXPORT std::string KeyboardCodeToDomKeycode(KeyboardCode code); | 20 UI_BASE_IME_EXPORT std::string KeyboardCodeToDomKeycode(KeyboardCode code); |
20 | 21 |
21 } // namespace ui | 22 } // namespace ui |
22 | 23 |
23 #endif // UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ | 24 #endif // UI_BASE_IME_CHROMEOS_IME_KEYMAP_H_ |
OLD | NEW |