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

Unified Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.cc

Issue 419293002: IME refactoring: ChromeOS introduce input methods State. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update after review. Created 6 years, 4 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: chrome/browser/chromeos/input_method/mock_input_method_manager.cc
diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
index 0654d6339f88a4c2f545b09cc8de0de92e39c202..cf5f530819b2cbc486c7714b81f19346fa2885ee 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
@@ -7,6 +7,12 @@
namespace chromeos {
namespace input_method {
+MockInputMethodManager::State::State() {
+}
+
+MockInputMethodManager::State::~State() {
+}
+
MockInputMethodManager::MockInputMethodManager()
: add_observer_count_(0),
remove_observer_count_(0),
@@ -192,5 +198,14 @@ bool MockInputMethodManager::MigrateInputMethods(
return false;
}
+scoped_refptr<InputMethodManager::State> MockInputMethodManager::CreateNewState(
+ const std::string& debug_name) const {
+ return new State();
+}
+
+void MockInputMethodManager::SetState(
+ scoped_refptr<InputMethodManager::State> state) {
+}
+
} // namespace input_method
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698