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

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: 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/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 26c67254c36d53aa298d430b89e973aae745bb98..694f515b64f9b580dfe07bd7c0167018759391bf 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);
}
class InputMethodConfiguration {

Powered by Google App Engine
This is Rietveld 408576698