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

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

Issue 1523593002: Add an option in language settings for activating the IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 ef233ac12cd47c1c1f4d387e0c9e3e4ec4af8c34..4fd2ad1b0fc0ac981c90a22e1975027b532b5f53 100644
--- a/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.cc
@@ -39,6 +39,9 @@ void MockInputMethodManager::AddCandidateWindowObserver(
InputMethodManager::CandidateWindowObserver* observer) {
}
+void MockInputMethodManager::AddImeMenuObserver(
+ InputMethodManager::ImeMenuObserver* observer) {}
+
void MockInputMethodManager::RemoveObserver(
InputMethodManager::Observer* observer) {
++remove_observer_count_;
@@ -48,6 +51,9 @@ void MockInputMethodManager::RemoveCandidateWindowObserver(
InputMethodManager::CandidateWindowObserver* observer) {
}
+void MockInputMethodManager::RemoveImeMenuObserver(
+ InputMethodManager::ImeMenuObserver* observer) {}
+
scoped_ptr<InputMethodDescriptors>
MockInputMethodManager::GetSupportedInputMethods() const {
scoped_ptr<InputMethodDescriptors> result(new InputMethodDescriptors);
@@ -239,5 +245,9 @@ void MockInputMethodManager::SetCurrentInputMethodId(
state_->current_input_method_id = input_method_id;
}
+void MockInputMethodManager::ImeMenuActivated() {}
+
+void MockInputMethodManager::ImeMenuDeactivated() {}
+
} // namespace input_method
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698