| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const std::string& password) OVERRIDE; | 58 const std::string& password) OVERRIDE; |
| 59 virtual void Login(const std::string& username, | 59 virtual void Login(const std::string& username, |
| 60 const std::string& password) OVERRIDE; | 60 const std::string& password) OVERRIDE; |
| 61 virtual void LoginAsGuest() OVERRIDE; | 61 virtual void LoginAsGuest() OVERRIDE; |
| 62 virtual void OnUserSelected(const std::string& username) OVERRIDE; | 62 virtual void OnUserSelected(const std::string& username) OVERRIDE; |
| 63 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 63 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
| 64 | 64 |
| 65 // content::NotificationObserver implementation. | 65 // content::NotificationObserver implementation. |
| 66 virtual void Observe(int type, | 66 virtual void Observe(int type, |
| 67 const content::NotificationSource& source, | 67 const content::NotificationSource& source, |
| 68 const content::NotificationDetails& details); | 68 const content::NotificationDetails& details) OVERRIDE; |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 virtual ~WebUIScreenLocker(); | 71 virtual ~WebUIScreenLocker(); |
| 72 | 72 |
| 73 // Called when the window manager is ready to handle locked state. | 73 // Called when the window manager is ready to handle locked state. |
| 74 void OnWindowManagerReady(); | 74 void OnWindowManagerReady(); |
| 75 | 75 |
| 76 // Called when the all inputs are grabbed. | 76 // Called when the all inputs are grabbed. |
| 77 void OnGrabInputs(); | 77 void OnGrabInputs(); |
| 78 | 78 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Status of keyboard and mouse grab. | 114 // Status of keyboard and mouse grab. |
| 115 GdkGrabStatus kbd_grab_status_; | 115 GdkGrabStatus kbd_grab_status_; |
| 116 GdkGrabStatus mouse_grab_status_; | 116 GdkGrabStatus mouse_grab_status_; |
| 117 | 117 |
| 118 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 118 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 } // namespace chromeos | 121 } // namespace chromeos |
| 122 | 122 |
| 123 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 123 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| OLD | NEW |