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

Unified Diff: chrome/browser/chromeos/input_method/input_method_persistence.h

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_persistence.h
diff --git a/chrome/browser/chromeos/input_method/input_method_persistence.h b/chrome/browser/chromeos/input_method/input_method_persistence.h
index 27fba163ab92dff0ddf63b01c522aaa14d764db6..f103a322cbad7e919d8c771bdd003e96cfb133e0 100644
--- a/chrome/browser/chromeos/input_method/input_method_persistence.h
+++ b/chrome/browser/chromeos/input_method/input_method_persistence.h
@@ -21,12 +21,13 @@ class InputMethodPersistence : public InputMethodManager::Observer {
public:
// Constructs an instance that will observe input method changes on the
// provided InputMethodManager. The client is responsible for calling
- // OnSessionStateChange whenever the InputMethodManager::State changes.
+ // OnSessionStateChange whenever the InputMethodManager::UISessionState
+ // changes.
explicit InputMethodPersistence(InputMethodManager* input_method_manager);
virtual ~InputMethodPersistence();
// Receives notification of session state changes.
- void OnSessionStateChange(InputMethodManager::State new_state);
+ void OnSessionStateChange(InputMethodManager::UISessionState new_session);
// InputMethodManager::Observer overrides.
virtual void InputMethodChanged(InputMethodManager* manager,
@@ -34,7 +35,7 @@ class InputMethodPersistence : public InputMethodManager::Observer {
private:
InputMethodManager* input_method_manager_;
- InputMethodManager::State state_;
+ InputMethodManager::UISessionState ui_session_;
DISALLOW_COPY_AND_ASSIGN(InputMethodPersistence);
};

Powered by Google App Engine
This is Rietveld 408576698