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

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

Issue 898533005: Rename for some supervised users ambiguity. Adding child account icon to the avatar menu bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename for user-removal-warning. Created 5 years, 10 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 <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER); 424 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER);
425 builder->Add("publicSessionLanguageAndInput", 425 builder->Add("publicSessionLanguageAndInput",
426 IDS_LOGIN_PUBLIC_SESSION_LANGUAGE_AND_INPUT); 426 IDS_LOGIN_PUBLIC_SESSION_LANGUAGE_AND_INPUT);
427 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER); 427 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER);
428 builder->Add("publicAccountEnterAccessibleName", 428 builder->Add("publicAccountEnterAccessibleName",
429 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME); 429 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME);
430 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT); 430 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT);
431 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT); 431 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT);
432 builder->Add("removeUserWarningText", 432 builder->Add("removeUserWarningText",
433 base::string16()); 433 base::string16());
434 builder->AddF("removeSupervisedUserWarningText", 434 builder->AddF("removeLegacySupervisedUserWarningText",
435 IDS_LOGIN_POD_SUPERVISED_USER_REMOVE_WARNING, 435 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
436 base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)); 436 base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL));
437 builder->Add("removeUserWarningButtonTitle", 437 builder->Add("removeUserWarningButtonTitle",
438 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON); 438 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON);
439 439
440 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE); 440 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE);
441 441
442 builder->Add("confirmPasswordTitle", IDS_LOGIN_CONFIRM_PASSWORD_TITLE); 442 builder->Add("confirmPasswordTitle", IDS_LOGIN_CONFIRM_PASSWORD_TITLE);
443 builder->Add("confirmPasswordLabel", IDS_LOGIN_CONFIRM_PASSWORD_LABEL); 443 builder->Add("confirmPasswordLabel", IDS_LOGIN_CONFIRM_PASSWORD_LABEL);
444 builder->Add("confirmPasswordConfirmButton", 444 builder->Add("confirmPasswordConfirmButton",
445 IDS_LOGIN_CONFIRM_PASSWORD_CONFIRM_BUTTON); 445 IDS_LOGIN_CONFIRM_PASSWORD_CONFIRM_BUTTON);
(...skipping 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 return gaia_screen_handler_->frame_error(); 1382 return gaia_screen_handler_->frame_error();
1383 } 1383 }
1384 1384
1385 void SigninScreenHandler::OnCapsLockChanged(bool enabled) { 1385 void SigninScreenHandler::OnCapsLockChanged(bool enabled) {
1386 caps_lock_enabled_ = enabled; 1386 caps_lock_enabled_ = enabled;
1387 if (page_is_ready()) 1387 if (page_is_ready())
1388 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_); 1388 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_);
1389 } 1389 }
1390 1390
1391 } // namespace chromeos 1391 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698