#ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_
#define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_PERSISTENCE_H_
#include <string>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chromeos/ime/input_method_manager.h"
namespace chromeos {
namespace input_method {
class InputMethodPersistence : public InputMethodManager::Observer {
public:
explicit InputMethodPersistence(InputMethodManager* input_method_manager);
virtual ~InputMethodPersistence();
void OnSessionStateChange(InputMethodManager::State new_state);
virtual void InputMethodChanged(InputMethodManager* manager,
bool show_message) OVERRIDE;
private:
InputMethodManager* input_method_manager_;
InputMethodManager::State state_;
DISALLOW_COPY_AND_ASSIGN(InputMethodPersistence);
};
}
}
#endif