Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 6060005: Show invisible user on login screen if there is space after other user removal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded code Created 9 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/existing_user_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698