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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 2785003002: cros: Showing pin on lock is no longer associated with sending user list. (Closed)
Patch Set: Address comments 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 void SuspendDone(const base::TimeDelta& sleep_duration) override; 340 void SuspendDone(const base::TimeDelta& sleep_duration) override;
341 341
342 // ash::mojom::TouchView: 342 // ash::mojom::TouchView:
343 void OnTouchViewToggled(bool enabled) override; 343 void OnTouchViewToggled(bool enabled) override;
344 344
345 void UpdateAddButtonStatus(); 345 void UpdateAddButtonStatus();
346 346
347 // Restore input focus to current user pod. 347 // Restore input focus to current user pod.
348 void RefocusCurrentPod(); 348 void RefocusCurrentPod();
349 349
350 // Hides the PIN keyboard if it is no longer available. 350 // Enable or disable the pin keyboard for the given account.
351 void HidePinKeyboardIfNeeded(const AccountId& account_id); 351 void UpdatePinKeyboardState(const AccountId& account_id);
352 352
353 // WebUI message handlers. 353 // WebUI message handlers.
354 void HandleGetUsers(); 354 void HandleGetUsers();
355 void HandleAuthenticateUser(const AccountId& account_id, 355 void HandleAuthenticateUser(const AccountId& account_id,
356 const std::string& password, 356 const std::string& password,
357 bool authenticated_by_pin); 357 bool authenticated_by_pin);
358 void HandleAttemptUnlock(const std::string& username); 358 void HandleAttemptUnlock(const std::string& username);
359 void HandleLaunchIncognito(); 359 void HandleLaunchIncognito();
360 void HandleLaunchPublicSession(const AccountId& account_id, 360 void HandleLaunchPublicSession(const AccountId& account_id,
361 const std::string& locale, 361 const std::string& locale,
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 std::unique_ptr<AccountId> focused_pod_account_id_; 535 std::unique_ptr<AccountId> focused_pod_account_id_;
536 536
537 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 537 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
538 538
539 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 539 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
540 }; 540 };
541 541
542 } // namespace chromeos 542 } // namespace chromeos
543 543
544 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 544 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/lock.js ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698