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

Unified Diff: chromeos/ime/ime_keyboard.h

Issue 232333002: ozone: Rename XKeyboard to KeyboardController & use fake under ozone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to ImeKeyboard & rebase 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/fake_xkeyboard.cc ('k') | chromeos/ime/ime_keyboard_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/ime/ime_keyboard.h
diff --git a/chromeos/ime/xkeyboard.h b/chromeos/ime/ime_keyboard.h
similarity index 94%
rename from chromeos/ime/xkeyboard.h
rename to chromeos/ime/ime_keyboard.h
index ad2cbc77d08d2627effa38ae943dd32289d1e9eb..c8cecc89d348ed88619db4ff87d42a7cf6b34a32 100644
--- a/chromeos/ime/xkeyboard.h
+++ b/chromeos/ime/ime_keyboard.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_IME_KEYBOARD_H_
+#define CHROMEOS_IME_IME_KEYBOARD_H_
#include <string>
#include <vector>
@@ -34,7 +34,7 @@ enum ModifierKey {
class InputMethodUtil;
-class CHROMEOS_EXPORT XKeyboard {
+class CHROMEOS_EXPORT ImeKeyboard {
public:
class Observer {
public:
@@ -42,7 +42,7 @@ class CHROMEOS_EXPORT XKeyboard {
virtual void OnCapsLockChanged(bool enabled) = 0;
};
- virtual ~XKeyboard() {}
+ virtual ~ImeKeyboard() {}
// Adds/removes observer.
virtual void AddObserver(Observer* observer) = 0;
@@ -109,11 +109,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 ImeKeyboard class.
+ static ImeKeyboard* Create();
};
} // namespace input_method
} // namespace chromeos
-#endif // CHROMEOS_IME_XKEYBOARD_H_
+#endif // CHROMEOS_IME_IME_KEYBOARD_H_
« no previous file with comments | « chromeos/ime/fake_xkeyboard.cc ('k') | chromeos/ime/ime_keyboard_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698