| 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_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/task.h" | 12 #include "base/task.h" |
| 13 #include "base/time.h" | 13 #include "base/time.h" |
| 14 #include "chrome/browser/chromeos/login/login_status_consumer.h" | 14 #include "chrome/browser/chromeos/login/login_status_consumer.h" |
| 15 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" | 15 #include "chrome/browser/chromeos/login/screen_locker_delegate.h" |
| 16 #include "ui/base/models/accelerator.h" | 16 #include "ui/base/models/accelerator.h" |
| 17 | 17 |
| 18 namespace gfx { | |
| 19 class Rect; | |
| 20 } // namespace gfx | |
| 21 | |
| 22 namespace views { | |
| 23 class View; | |
| 24 } // namespace views | |
| 25 | |
| 26 namespace chromeos { | 18 namespace chromeos { |
| 27 | 19 |
| 28 class Authenticator; | 20 class Authenticator; |
| 29 class LoginFailure; | 21 class LoginFailure; |
| 30 class User; | 22 class User; |
| 31 | 23 |
| 32 namespace test { | 24 namespace test { |
| 33 class ScreenLockerTester; | 25 class ScreenLockerTester; |
| 34 } // namespace test | 26 } // namespace test |
| 35 | 27 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 // Delegate to forward all login status events to. | 151 // Delegate to forward all login status events to. |
| 160 // Tests can use this to receive login status events. | 152 // Tests can use this to receive login status events. |
| 161 LoginStatusConsumer* login_status_consumer_; | 153 LoginStatusConsumer* login_status_consumer_; |
| 162 | 154 |
| 163 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); | 155 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); |
| 164 }; | 156 }; |
| 165 | 157 |
| 166 } // namespace chromeos | 158 } // namespace chromeos |
| 167 | 159 |
| 168 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ | 160 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREEN_LOCKER_H_ |
| OLD | NEW |