Chromium Code Reviews| Index: chromeos/ime/keyboard_controller.h |
| diff --git a/chromeos/ime/xkeyboard.h b/chromeos/ime/keyboard_controller.h |
| similarity index 92% |
| rename from chromeos/ime/xkeyboard.h |
| rename to chromeos/ime/keyboard_controller.h |
| index b07e4f44ba3d8c4043f0872e2ab06b3021de4a2f..5fbd159b47516093c9d397e8f5a7017133d6efcc 100644 |
| --- a/chromeos/ime/xkeyboard.h |
| +++ b/chromeos/ime/keyboard_controller.h |
| @@ -2,8 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef CHROMEOS_IME_XKEYBOARD_H_ |
| -#define CHROMEOS_IME_XKEYBOARD_H_ |
| +#ifndef CHROMEOS_IME_KEYBOARD_CONTROLLER_H_ |
| +#define CHROMEOS_IME_KEYBOARD_CONTROLLER_H_ |
| #include <string> |
| #include <vector> |
| @@ -34,9 +34,9 @@ enum ModifierKey { |
| class InputMethodUtil; |
| -class CHROMEOS_EXPORT XKeyboard { |
| +class CHROMEOS_EXPORT KeyboardController { |
|
sadrul
2014/04/10 00:16:57
There's a KeyboardController in ui/keyboard/. Can
spang
2014/04/10 00:18:47
Happy to bikeshed.
IMEKeyboardController?
NonVir
|
| public: |
| - virtual ~XKeyboard() {} |
| + virtual ~KeyboardController() {} |
| // Sets the current keyboard layout to |layout_name|. This function does not |
| // change the current mapping of the modifier keys. Returns true on success. |
| @@ -99,11 +99,11 @@ class CHROMEOS_EXPORT XKeyboard { |
| const std::string& layout_name); |
| // Note: At this moment, classes other than InputMethodManager should not |
| - // instantiate the XKeyboard class. |
| - static XKeyboard* Create(); |
| + // instantiate the KeyboardController class. |
| + static KeyboardController* Create(); |
| }; |
| } // namespace input_method |
| } // namespace chromeos |
| -#endif // CHROMEOS_IME_XKEYBOARD_H_ |
| +#endif // CHROMEOS_IME_KEYBOARD_CONTROLLER_H_ |