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

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

Issue 2733953008: Add fingerprint UI in user pod (Closed)
Patch Set: Incorporate comments Created 3 years, 9 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | ui/login/account_picker/screen_account_picker.js » ('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) 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 base::FormatNumber(int64_t{j})); 420 base::FormatNumber(int64_t{j}));
421 } 421 }
422 422
423 builder->Add("passwordHint", IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT); 423 builder->Add("passwordHint", IDS_LOGIN_POD_EMPTY_PASSWORD_TEXT);
424 builder->Add("pinKeyboardPlaceholderPin", 424 builder->Add("pinKeyboardPlaceholderPin",
425 IDS_PIN_KEYBOARD_HINT_TEXT_PIN); 425 IDS_PIN_KEYBOARD_HINT_TEXT_PIN);
426 builder->Add("pinKeyboardPlaceholderPinPassword", 426 builder->Add("pinKeyboardPlaceholderPinPassword",
427 IDS_PIN_KEYBOARD_HINT_TEXT_PIN_PASSWORD); 427 IDS_PIN_KEYBOARD_HINT_TEXT_PIN_PASSWORD);
428 builder->Add("pinKeyboardDeleteAccessibleName", 428 builder->Add("pinKeyboardDeleteAccessibleName",
429 IDS_PIN_KEYBOARD_DELETE_ACCESSIBLE_NAME); 429 IDS_PIN_KEYBOARD_DELETE_ACCESSIBLE_NAME);
430 builder->Add("fingerprintHint", IDS_FINGERPRINT_HINT_TEXT);
431 builder->Add("fingerprintIconMessage", IDS_FINGERPRINT_ICON_MESSAGE);
432 builder->Add("fingerprintSigningin", IDS_FINGERPRINT_LOGIN_TEXT);
433 builder->Add("fingerprintSigninFailed", IDS_FINGERPRINT_LOGIN_FAILED_TEXT);
430 builder->Add("signingIn", IDS_LOGIN_POD_SIGNING_IN); 434 builder->Add("signingIn", IDS_LOGIN_POD_SIGNING_IN);
431 builder->Add("podMenuButtonAccessibleName", 435 builder->Add("podMenuButtonAccessibleName",
432 IDS_LOGIN_POD_MENU_BUTTON_ACCESSIBLE_NAME); 436 IDS_LOGIN_POD_MENU_BUTTON_ACCESSIBLE_NAME);
433 builder->Add("podMenuRemoveItemAccessibleName", 437 builder->Add("podMenuRemoveItemAccessibleName",
434 IDS_LOGIN_POD_MENU_REMOVE_ITEM_ACCESSIBLE_NAME); 438 IDS_LOGIN_POD_MENU_REMOVE_ITEM_ACCESSIBLE_NAME);
435 builder->Add("passwordFieldAccessibleName", 439 builder->Add("passwordFieldAccessibleName",
436 IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME); 440 IDS_LOGIN_POD_PASSWORD_FIELD_ACCESSIBLE_NAME);
437 builder->Add("submitButtonAccessibleName", 441 builder->Add("submitButtonAccessibleName",
438 IDS_LOGIN_POD_SUBMIT_BUTTON_ACCESSIBLE_NAME); 442 IDS_LOGIN_POD_SUBMIT_BUTTON_ACCESSIBLE_NAME);
439 builder->Add("signedIn", IDS_SCREEN_LOCK_ACTIVE_USER); 443 builder->Add("signedIn", IDS_SCREEN_LOCK_ACTIVE_USER);
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1648 rate.initial_delay_in_ms = auto_repeat_delay; 1652 rate.initial_delay_in_ms = auto_repeat_delay;
1649 rate.repeat_interval_in_ms = auto_repeat_interval; 1653 rate.repeat_interval_in_ms = auto_repeat_interval;
1650 input_method::InputMethodManager::Get() 1654 input_method::InputMethodManager::Get()
1651 ->GetImeKeyboard() 1655 ->GetImeKeyboard()
1652 ->SetAutoRepeatEnabled(true); 1656 ->SetAutoRepeatEnabled(true);
1653 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( 1657 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate(
1654 rate); 1658 rate);
1655 } 1659 }
1656 1660
1657 } // namespace chromeos 1661 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | ui/login/account_picker/screen_account_picker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698