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

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

Issue 419293002: IME refactoring: ChromeOS introduce input methods State. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test fixed. Re-sorted methods of StateImpl and IMM. 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/input_method_configuration.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_configuration.cc b/chrome/browser/chromeos/input_method/input_method_configuration.cc
index 6c5d5bf5a49fe29b422db3edc130961bcef10050..23dc5b83c30ede89a1f3cfe76d2f6dfb6d417f6a 100644
--- a/chrome/browser/chromeos/input_method/input_method_configuration.cc
+++ b/chrome/browser/chromeos/input_method/input_method_configuration.cc
@@ -20,9 +20,9 @@ namespace input_method {
namespace {
void OnSessionStateChange(InputMethodManagerImpl* input_method_manager_impl,
InputMethodPersistence* input_method_persistence,
- InputMethodManager::State new_state) {
- input_method_persistence->OnSessionStateChange(new_state);
- input_method_manager_impl->SetState(new_state);
+ InputMethodManager::UISessionState new_ui_session) {
+ input_method_persistence->OnSessionStateChange(new_ui_session);
+ input_method_manager_impl->SetUISessionState(new_ui_session);
}
bool g_disable_extension_loading = false;

Powered by Google App Engine
This is Rietveld 408576698