Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6132)

Unified Diff: chromeos/ime/keyboard_controller.h

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/ime/input_method_manager.h ('k') | chromeos/ime/keyboard_controller_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chromeos/ime/input_method_manager.h ('k') | chromeos/ime/keyboard_controller_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698