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

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

Issue 1248613003: Issue 501916 : Add data type counts to profile deletion flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to achuithb's comment Created 5 years, 2 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 builder->Add("publicAccountInfoFormat", IDS_LOGIN_PUBLIC_ACCOUNT_INFO_FORMAT); 429 builder->Add("publicAccountInfoFormat", IDS_LOGIN_PUBLIC_ACCOUNT_INFO_FORMAT);
430 builder->Add("publicAccountReminder", 430 builder->Add("publicAccountReminder",
431 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER); 431 IDS_LOGIN_PUBLIC_ACCOUNT_SIGNOUT_REMINDER);
432 builder->Add("publicSessionLanguageAndInput", 432 builder->Add("publicSessionLanguageAndInput",
433 IDS_LOGIN_PUBLIC_SESSION_LANGUAGE_AND_INPUT); 433 IDS_LOGIN_PUBLIC_SESSION_LANGUAGE_AND_INPUT);
434 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER); 434 builder->Add("publicAccountEnter", IDS_LOGIN_PUBLIC_ACCOUNT_ENTER);
435 builder->Add("publicAccountEnterAccessibleName", 435 builder->Add("publicAccountEnterAccessibleName",
436 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME); 436 IDS_LOGIN_PUBLIC_ACCOUNT_ENTER_ACCESSIBLE_NAME);
437 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT); 437 builder->Add("publicSessionSelectLanguage", IDS_LANGUAGE_SELECTION_SELECT);
438 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT); 438 builder->Add("publicSessionSelectKeyboard", IDS_KEYBOARD_SELECTION_SELECT);
439 builder->Add("removeUserWarningText", 439 builder->Add("removeUserWarningTextNonSyncNoStats", base::string16());
440 base::string16()); 440 builder->Add("removeUserWarningTextNonSyncCalculating", base::string16());
441 builder->Add("removeUserWarningTextHistory", base::string16());
442 builder->Add("removeUserWarningTextPasswords", base::string16());
443 builder->Add("removeUserWarningTextBookmarks", base::string16());
444 builder->Add("removeUserWarningTextSettings", base::string16());
445 builder->Add("removeUserWarningTextCalculating", base::string16());
446 builder->Add("removeUserWarningTextSyncNoStats", base::string16());
447 builder->Add("removeUserWarningTextSyncCalculating", base::string16());
441 builder->AddF("removeLegacySupervisedUserWarningText", 448 builder->AddF("removeLegacySupervisedUserWarningText",
442 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING, 449 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
443 base::UTF8ToUTF16( 450 base::UTF8ToUTF16(
444 chrome::kLegacySupervisedUserManagementDisplayURL)); 451 chrome::kLegacySupervisedUserManagementDisplayURL));
445 builder->Add("removeUserWarningButtonTitle", 452 builder->Add("removeUserWarningButtonTitle",
446 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON); 453 IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON);
447 454
448 if (StartupUtils::IsWebviewSigninEnabled()) { 455 if (StartupUtils::IsWebviewSigninEnabled()) {
449 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE_NEW_GAIA_FLOW); 456 builder->Add("samlNotice", IDS_LOGIN_SAML_NOTICE_NEW_GAIA_FLOW);
450 builder->AddF("confirmPasswordTitle", 457 builder->AddF("confirmPasswordTitle",
(...skipping 1001 matching lines...) Expand 10 before | Expand all | Expand 10 after
1452 return gaia_screen_handler_->frame_error(); 1459 return gaia_screen_handler_->frame_error();
1453 } 1460 }
1454 1461
1455 void SigninScreenHandler::OnCapsLockChanged(bool enabled) { 1462 void SigninScreenHandler::OnCapsLockChanged(bool enabled) {
1456 caps_lock_enabled_ = enabled; 1463 caps_lock_enabled_ = enabled;
1457 if (page_is_ready()) 1464 if (page_is_ready())
1458 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_); 1465 CallJS("login.AccountPickerScreen.setCapsLockState", caps_lock_enabled_);
1459 } 1466 }
1460 1467
1461 } // namespace chromeos 1468 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_statistics.cc ('k') | chrome/browser/ui/webui/signin/user_manager_screen_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698