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

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

Issue 2302483003: Pin keyboard improvements. (Closed)
Patch Set: Fixed patch set 7 errors. Created 4 years, 3 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 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 for (int j = 0; j <= 9; j++) { 370 for (int j = 0; j <= 9; j++) {
371 builder->Add("pinKeyboard" + base::IntToString(j), 371 builder->Add("pinKeyboard" + base::IntToString(j),
372 base::FormatNumber(int64_t{j})); 372 base::FormatNumber(int64_t{j}));
373 } 373 }
374 374
375 builder->Add("passwordHint", IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT); 375 builder->Add("passwordHint", IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT);
376 builder->Add("pinKeyboardPlaceholderPin", 376 builder->Add("pinKeyboardPlaceholderPin",
377 IDS_PIN_KEYBOARD_HINT_TEXT_PIN); 377 IDS_PIN_KEYBOARD_HINT_TEXT_PIN);
378 builder->Add("pinKeyboardPlaceholderPinPassword", 378 builder->Add("pinKeyboardPlaceholderPinPassword",
379 IDS_PIN_KEYBOARD_HINT_TEXT_PIN_PASSWORD); 379 IDS_PIN_KEYBOARD_HINT_TEXT_PIN_PASSWORD);
380 builder->Add("pinKeyboardClear", IDS_PIN_KEYBOARD_CLEAR);
381 builder->Add("signingIn", IDS_LOGIN_POD_SIGNING_IN); 380 builder->Add("signingIn", IDS_LOGIN_POD_SIGNING_IN);
382 builder->Add("podMenuButtonAccessibleName", 381 builder->Add("podMenuButtonAccessibleName",
383 IDS_LOGIN_POD_MENU_BUTTON_ACCESSIBLE_NAME); 382 IDS_LOGIN_POD_MENU_BUTTON_ACCESSIBLE_NAME);
384 builder->Add("podMenuRemoveItemAccessibleName", 383 builder->Add("podMenuRemoveItemAccessibleName",
385 IDS_LOGIN_POD_MENU_REMOVE_ITEM_ACCESSIBLE_NAME); 384 IDS_LOGIN_POD_MENU_REMOVE_ITEM_ACCESSIBLE_NAME);
386 builder->Add("passwordFieldAccessibleName", 385 builder->Add("passwordFieldAccessibleName",
387 IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME); 386 IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME);
388 builder->Add("signedIn", IDS_SCREEN_LOCK_ACTIVE_USER); 387 builder->Add("signedIn", IDS_SCREEN_LOCK_ACTIVE_USER);
389 builder->Add("launchAppButton", IDS_LAUNCH_APP_BUTTON); 388 builder->Add("launchAppButton", IDS_LAUNCH_APP_BUTTON);
390 builder->Add("restart", IDS_RESTART_BUTTON); 389 builder->Add("restart", IDS_RESTART_BUTTON);
(...skipping 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 } 1500 }
1502 1501
1503 void SigninScreenHandler::OnFeedbackFinished() { 1502 void SigninScreenHandler::OnFeedbackFinished() {
1504 CallJS("login.UnrecoverableCryptohomeErrorScreen.resumeAfterFeedbackUI"); 1503 CallJS("login.UnrecoverableCryptohomeErrorScreen.resumeAfterFeedbackUI");
1505 1504
1506 // Recreate user's cryptohome after the feedback is attempted. 1505 // Recreate user's cryptohome after the feedback is attempted.
1507 HandleResyncUserData(); 1506 HandleResyncUserData();
1508 } 1507 }
1509 1508
1510 } // namespace chromeos 1509 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698