OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "chrome/browser/chromeos/login/help_app_launcher.h" | 13 #include "chrome/browser/chromeos/login/help_app_launcher.h" |
14 #include "chrome/browser/chromeos/login/signin_specifics.h" | 14 #include "chrome/browser/chromeos/login/signin_specifics.h" |
15 #include "components/user_manager/user.h" | 15 #include "components/user_manager/user.h" |
16 #include "components/user_manager/user_manager.h" | 16 #include "components/user_manager/user_manager.h" |
| 17 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/gfx/image/image.h" | 18 #include "ui/gfx/image/image.h" |
18 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/gfx/rect.h" | |
20 | 20 |
21 namespace chromeos { | 21 namespace chromeos { |
22 | 22 |
23 class UserContext; | 23 class UserContext; |
24 | 24 |
25 // TODO(nkostylev): Extract interface, create a BaseLoginDisplay class. | 25 // TODO(nkostylev): Extract interface, create a BaseLoginDisplay class. |
26 // An abstract class that defines login UI implementation. | 26 // An abstract class that defines login UI implementation. |
27 class LoginDisplay { | 27 class LoginDisplay { |
28 public: | 28 public: |
29 // Sign in error IDs that require detailed error screen and not just | 29 // Sign in error IDs that require detailed error screen and not just |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // in redesigned login stack. | 169 // in redesigned login stack. |
170 // Login stack (and this object) will be recreated for next user sign in. | 170 // Login stack (and this object) will be recreated for next user sign in. |
171 bool is_signin_completed_; | 171 bool is_signin_completed_; |
172 | 172 |
173 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 173 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
174 }; | 174 }; |
175 | 175 |
176 } // namespace chromeos | 176 } // namespace chromeos |
177 | 177 |
178 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ | 178 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_H_ |
OLD | NEW |