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

Unified Diff: chromeos/ime/fake_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
Index: chromeos/ime/fake_keyboard_controller.h
diff --git a/chromeos/ime/fake_xkeyboard.h b/chromeos/ime/fake_keyboard_controller.h
similarity index 76%
rename from chromeos/ime/fake_xkeyboard.h
rename to chromeos/ime/fake_keyboard_controller.h
index df531ae7e34a9ac193b97e4a86fdcd5cc438139a..e1862978bca44f89dcb88fe9ecfb44bc5d04e491 100644
--- a/chromeos/ime/fake_xkeyboard.h
+++ b/chromeos/ime/fake_keyboard_controller.h
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMEOS_IME_FAKE_XKEYBOARD_H_
-#define CHROMEOS_IME_FAKE_XKEYBOARD_H_
+#ifndef CHROMEOS_IME_FAKE_KEYBOARD_CONTROLLER_H_
+#define CHROMEOS_IME_FAKE_KEYBOARD_CONTROLLER_H_
-#include "chromeos/ime/xkeyboard.h"
+#include "chromeos/ime/keyboard_controller.h"
#include <string>
@@ -15,10 +15,10 @@
namespace chromeos {
namespace input_method {
-class CHROMEOS_EXPORT FakeXKeyboard : public XKeyboard {
+class CHROMEOS_EXPORT FakeKeyboardController : public KeyboardController {
public:
- FakeXKeyboard();
- virtual ~FakeXKeyboard() {}
+ FakeKeyboardController();
+ virtual ~FakeKeyboardController() {}
virtual bool SetCurrentKeyboardLayoutByName(const std::string& layout_name)
OVERRIDE;
@@ -40,10 +40,10 @@ class CHROMEOS_EXPORT FakeXKeyboard : public XKeyboard {
// TODO(yusukes): Add more variables for counting the numbers of the API calls
private:
- DISALLOW_COPY_AND_ASSIGN(FakeXKeyboard);
+ DISALLOW_COPY_AND_ASSIGN(FakeKeyboardController);
};
} // namespace input_method
} // namespace chromeos
-#endif // CHROMEOS_IME_FAKE_XKEYBOARD_H_
+#endif // CHROMEOS_IME_FAKE_KEYBOARD_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698