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

Unified Diff: ash/login/lock_screen_controller.cc

Issue 2923773003: Adding mojo calls for several lock screen related operations. (Closed)
Patch Set: comments and rebase Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/login/lock_screen_controller.h ('k') | ash/login/lock_screen_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/login/lock_screen_controller.cc
diff --git a/ash/login/lock_screen_controller.cc b/ash/login/lock_screen_controller.cc
index dd5a085137f85410548b25f88c0e35d11f0e53c1..5f863dcc3b7fe8ecfba1301923a414cb919722ac 100644
--- a/ash/login/lock_screen_controller.cc
+++ b/ash/login/lock_screen_controller.cc
@@ -59,6 +59,11 @@ void LockScreenController::LoadUsers(std::unique_ptr<base::ListValue> users,
NOTIMPLEMENTED();
}
+void LockScreenController::SetPinEnabledForUser(const AccountId& account_id,
+ bool is_enabled) {
+ NOTIMPLEMENTED();
+}
+
void LockScreenController::AuthenticateUser(
const AccountId& account_id,
const std::string& password,
@@ -97,6 +102,37 @@ void LockScreenController::RecordClickOnLockIcon(const AccountId& account_id) {
lock_screen_client_->RecordClickOnLockIcon(account_id);
}
+void LockScreenController::OnFocusPod(const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->OnFocusPod(account_id);
+}
+
+void LockScreenController::OnNoPodFocused() {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->OnNoPodFocused();
+}
+
+void LockScreenController::LoadWallpaper(const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->LoadWallpaper(account_id);
+}
+
+void LockScreenController::SignOutUser() {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->SignOutUser();
+}
+
+void LockScreenController::OnMaxIncorrectPasswordAttempted(
+ const AccountId& account_id) {
+ if (!lock_screen_client_)
+ return;
+ lock_screen_client_->OnMaxIncorrectPasswordAttempted(account_id);
+}
+
void LockScreenController::DoAuthenticateUser(
const AccountId& account_id,
const std::string& password,
« no previous file with comments | « ash/login/lock_screen_controller.h ('k') | ash/login/lock_screen_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698