Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / login / lock / screen_locker.h
index 333e2af..736421f 100644 (file)
@@ -16,6 +16,7 @@
 #include "chrome/browser/chromeos/login/help_app_launcher.h"
 #include "chrome/browser/chromeos/login/lock/screen_locker_delegate.h"
 #include "chrome/browser/chromeos/login/ui/login_display.h"
+#include "chromeos/ime/input_method_manager.h"
 #include "chromeos/login/auth/auth_status_consumer.h"
 #include "chromeos/login/auth/user_context.h"
 #include "components/user_manager/user.h"
@@ -60,8 +61,8 @@ class ScreenLocker : public AuthStatusConsumer {
   void Init();
 
   // AuthStatusConsumer:
-  virtual void OnAuthFailure(const chromeos::AuthFailure& error) OVERRIDE;
-  virtual void OnAuthSuccess(const UserContext& user_context) OVERRIDE;
+  virtual void OnAuthFailure(const chromeos::AuthFailure& error) override;
+  virtual void OnAuthSuccess(const UserContext& user_context) override;
 
   // Does actual unlocking once authentication is successful and all blocking
   // animations are done.
@@ -186,6 +187,8 @@ class ScreenLocker : public AuthStatusConsumer {
   // Provider for button icon set by the screenlockPrivate API.
   scoped_ptr<ScreenlockIconProvider> screenlock_icon_provider_;
 
+  scoped_refptr<input_method::InputMethodManager::State> saved_ime_state_;
+
   base::WeakPtrFactory<ScreenLocker> weak_factory_;
 
   DISALLOW_COPY_AND_ASSIGN(ScreenLocker);