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

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: Created 6 years, 5 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 a7b36611d259d1ad9801a8823aca5ccdd49b566a..b73df74f15aba6411d266cb64ccda00b89ac336a 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::UIState new_ui_state) {
+ input_method_persistence->OnSessionStateChange(new_ui_state);
+ input_method_manager_impl->SetUIState(new_ui_state);
}
class InputMethodConfiguration {

Powered by Google App Engine
This is Rietveld 408576698