| 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_EXISTING_USER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
| 12 #include "base/task.h" | 12 #include "base/task.h" |
| 13 #include "base/timer.h" | 13 #include "base/timer.h" |
| 14 #include "chrome/browser/chromeos/login/background_view.h" | 14 #include "chrome/browser/chromeos/login/background_view.h" |
| 15 #include "chrome/browser/chromeos/login/captcha_view.h" | 15 #include "chrome/browser/chromeos/login/captcha_view.h" |
| 16 #include "chrome/browser/chromeos/login/login_display.h" | 16 #include "chrome/browser/chromeos/login/login_display.h" |
| 17 #include "chrome/browser/chromeos/login/login_performer.h" | 17 #include "chrome/browser/chromeos/login/login_performer.h" |
| 18 #include "chrome/browser/chromeos/login/password_changed_view.h" | 18 #include "chrome/browser/chromeos/login/password_changed_view.h" |
| 19 #include "chrome/browser/chromeos/login/user_manager.h" | 19 #include "chrome/browser/chromeos/login/user_manager.h" |
| 20 #include "chrome/browser/chromeos/wm_message_listener.h" | 20 #include "chrome/browser/chromeos/wm_message_listener.h" |
| 21 #include "chrome/common/notification_observer.h" | 21 #include "chrome/common/notification_observer.h" |
| 22 #include "chrome/common/notification_registrar.h" | 22 #include "chrome/common/notification_registrar.h" |
| 23 #include "gfx/rect.h" | |
| 24 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
| 25 #include "testing/gtest/include/gtest/gtest_prod.h" | 24 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 25 #include "ui/gfx/rect.h" |
| 26 | 26 |
| 27 namespace chromeos { | 27 namespace chromeos { |
| 28 | 28 |
| 29 class UserCrosSettingsProvider; | 29 class UserCrosSettingsProvider; |
| 30 | 30 |
| 31 // ExistingUserController is used to handle login when someone has | 31 // ExistingUserController is used to handle login when someone has |
| 32 // already logged into the machine. | 32 // already logged into the machine. |
| 33 // To use ExistingUserController create an instance of it and invoke Init. | 33 // To use ExistingUserController create an instance of it and invoke Init. |
| 34 // When Init is called it creates LoginDisplay instance which encapsulates | 34 // When Init is called it creates LoginDisplay instance which encapsulates |
| 35 // all login UI implementation. | 35 // all login UI implementation. |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); | 171 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, NewUserLogin); |
| 172 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, CreateAccount); | 172 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, CreateAccount); |
| 173 | 173 |
| 174 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 174 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 } // namespace chromeos | 177 } // namespace chromeos |
| 178 | 178 |
| 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |