| Index: chrome/browser/chromeos/input_method/input_method_persistence.cc
|
| diff --git a/chrome/browser/chromeos/input_method/input_method_persistence.cc b/chrome/browser/chromeos/input_method/input_method_persistence.cc
|
| index c0c82fb008f3dc5b18c5679f708be2c287d173dd..3de05da9ccf4bd5dff0fe22fde7c97885b191b41 100644
|
| --- a/chrome/browser/chromeos/input_method/input_method_persistence.cc
|
| +++ b/chrome/browser/chromeos/input_method/input_method_persistence.cc
|
| @@ -107,7 +107,7 @@ void PersistUserInputMethod(const std::string& input_method,
|
| InputMethodPersistence::InputMethodPersistence(
|
| InputMethodManager* input_method_manager)
|
| : input_method_manager_(input_method_manager),
|
| - state_(InputMethodManager::STATE_LOGIN_SCREEN) {
|
| + ui_state_(InputMethodManager::STATE_LOGIN_SCREEN) {
|
| input_method_manager_->AddObserver(this);
|
| }
|
|
|
| @@ -121,7 +121,7 @@ void InputMethodPersistence::InputMethodChanged(
|
| const std::string current_input_method =
|
| manager->GetCurrentInputMethod().id();
|
| // Save the new input method id depending on the current browser state.
|
| - switch (state_) {
|
| + switch (ui_state_) {
|
| case InputMethodManager::STATE_LOGIN_SCREEN:
|
| if (!manager->IsLoginKeyboard(current_input_method)) {
|
| DVLOG(1) << "Only keyboard layouts are supported: "
|
| @@ -143,8 +143,8 @@ void InputMethodPersistence::InputMethodChanged(
|
| }
|
|
|
| void InputMethodPersistence::OnSessionStateChange(
|
| - InputMethodManager::State new_state) {
|
| - state_ = new_state;
|
| + InputMethodManager::UIState new_ui_state) {
|
| + ui_state_ = new_ui_state;
|
| }
|
|
|
| } // namespace input_method
|
|
|