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

Side by Side Diff: chrome/browser/chromeos/login/lock/screen_locker.h

Issue 2830933002: cros: Use SessionController for lock starting code (Closed)
Patch Set: update comment Created 3 years, 8 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
OLDNEW
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_LOCK_SCREEN_LOCKER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 // Called when screen locker is safe to delete. 139 // Called when screen locker is safe to delete.
140 static void ScheduleDeletion(); 140 static void ScheduleDeletion();
141 141
142 // Returns true if |account_id| is found among logged in users. 142 // Returns true if |account_id| is found among logged in users.
143 bool IsUserLoggedIn(const AccountId& account_id) const; 143 bool IsUserLoggedIn(const AccountId& account_id) const;
144 144
145 // Looks up user in unlock user list. 145 // Looks up user in unlock user list.
146 const user_manager::User* FindUnlockUser(const AccountId& account_id); 146 const user_manager::User* FindUnlockUser(const AccountId& account_id);
147 147
148 // Used as a callback to be invoked after ash finishes post lock animation
149 // and fully locked.
150 void OnLockAnimationFinished();
151
148 // WebUIScreenLocker instance in use. 152 // WebUIScreenLocker instance in use.
149 std::unique_ptr<WebUIScreenLocker> web_ui_; 153 std::unique_ptr<WebUIScreenLocker> web_ui_;
150 154
151 // Users that can unlock the device. 155 // Users that can unlock the device.
152 user_manager::UserList users_; 156 user_manager::UserList users_;
153 157
154 // Used to authenticate the user to unlock. 158 // Used to authenticate the user to unlock.
155 scoped_refptr<Authenticator> authenticator_; 159 scoped_refptr<Authenticator> authenticator_;
156 160
157 // Used to authenticate the user to unlock supervised users. 161 // Used to authenticate the user to unlock supervised users.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 scoped_refptr<input_method::InputMethodManager::State> saved_ime_state_; 195 scoped_refptr<input_method::InputMethodManager::State> saved_ime_state_;
192 196
193 base::WeakPtrFactory<ScreenLocker> weak_factory_; 197 base::WeakPtrFactory<ScreenLocker> weak_factory_;
194 198
195 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); 199 DISALLOW_COPY_AND_ASSIGN(ScreenLocker);
196 }; 200 };
197 201
198 } // namespace chromeos 202 } // namespace chromeos
199 203
200 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ 204 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698