OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <vector> | 10 #include <vector> |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // Send message to window manager to enable/disable click on other windows. | 129 // Send message to window manager to enable/disable click on other windows. |
130 void SendSetLoginState(bool is_login); | 130 void SendSetLoginState(bool is_login); |
131 | 131 |
132 // Bounds of the background window. | 132 // Bounds of the background window. |
133 const gfx::Rect background_bounds_; | 133 const gfx::Rect background_bounds_; |
134 | 134 |
135 // Background window/view. | 135 // Background window/view. |
136 views::Widget* background_window_; | 136 views::Widget* background_window_; |
137 BackgroundView* background_view_; | 137 BackgroundView* background_view_; |
138 | 138 |
139 // The set of UserControllers. | 139 // The set of visible UserControllers. |
140 std::vector<UserController*> controllers_; | 140 std::vector<UserController*> controllers_; |
141 | 141 |
| 142 // The set of invisible UserControllers. |
| 143 std::vector<UserController*> invisible_controllers_; |
| 144 |
142 // Used to execute login operations. | 145 // Used to execute login operations. |
143 scoped_ptr<LoginPerformer> login_performer_; | 146 scoped_ptr<LoginPerformer> login_performer_; |
144 | 147 |
145 // Index of selected view (user). | 148 // Index of selected view (user). |
146 size_t selected_view_index_; | 149 size_t selected_view_index_; |
147 | 150 |
148 // Number of login attempts. Used to show help link when > 1 unsuccessful | 151 // Number of login attempts. Used to show help link when > 1 unsuccessful |
149 // logins for the same user. | 152 // logins for the same user. |
150 size_t num_login_attempts_; | 153 size_t num_login_attempts_; |
151 | 154 |
(...skipping 19 matching lines...) Expand all Loading... |
171 | 174 |
172 // Factory of callbacks. | 175 // Factory of callbacks. |
173 ScopedRunnableMethodFactory<ExistingUserController> method_factory_; | 176 ScopedRunnableMethodFactory<ExistingUserController> method_factory_; |
174 | 177 |
175 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 178 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
176 }; | 179 }; |
177 | 180 |
178 } // namespace chromeos | 181 } // namespace chromeos |
179 | 182 |
180 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 183 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
OLD | NEW |