Index: chrome/browser/chromeos/login/webui_screen_locker.h |
diff --git a/chrome/browser/chromeos/login/webui_screen_locker.h b/chrome/browser/chromeos/login/webui_screen_locker.h |
index 17d846d2b7a71c8aff1cbef661cd98155f736fb6..1a9875e19ea4e8fdcfcd506bc1bc59f6c09e22c7 100644 |
--- a/chrome/browser/chromeos/login/webui_screen_locker.h |
+++ b/chrome/browser/chromeos/login/webui_screen_locker.h |
@@ -37,6 +37,9 @@ class WebUIScreenLocker : public WebUILoginView, |
public: |
explicit WebUIScreenLocker(ScreenLocker* screen_locker); |
+ // Called when the all inputs are grabbed. |
+ void OnGrabInputs(); |
+ |
// ScreenLockerDelegate implementation: |
virtual void LockScreen(bool unlock_on_input) OVERRIDE; |
virtual void ScreenLockReady() OVERRIDE; |
@@ -69,9 +72,13 @@ class WebUIScreenLocker : public WebUILoginView, |
private: |
virtual ~WebUIScreenLocker(); |
+ // Called when the window manager is ready to handle locked state. |
+ void OnWindowManagerReady(); |
+ |
// Event handler for client-event. |
CHROMEGTK_CALLBACK_1(WebUIScreenLocker, void, OnClientEvent, GdkEventClient*) |
+ // The screen locker window. |
views::Widget* lock_window_; |
// Login UI implementation instance. |
@@ -80,6 +87,12 @@ class WebUIScreenLocker : public WebUILoginView, |
// Used for user image changed notifications. |
content::NotificationRegistrar registrar_; |
+ // True if the screen locker's window has been drawn. |
+ bool drawn_; |
+ |
+ // True if both mouse input and keyboard input are grabbed. |
+ bool input_grabbed_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
}; |