| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/signin/user_manager_screen_handler.h" | 5 #include "chrome/browser/ui/webui/signin/user_manager_screen_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 l10n_util::GetStringUTF16( | 799 l10n_util::GetStringUTF16( |
| 800 IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_NOSTATS)); | 800 IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_NOSTATS)); |
| 801 localized_strings->SetString("removeUserWarningTextSyncCalculating", | 801 localized_strings->SetString("removeUserWarningTextSyncCalculating", |
| 802 l10n_util::GetStringUTF16( | 802 l10n_util::GetStringUTF16( |
| 803 IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_CALCULATING)); | 803 IDS_LOGIN_POD_USER_REMOVE_WARNING_SYNC_CALCULATING)); |
| 804 localized_strings->SetString("removeLegacySupervisedUserWarningText", | 804 localized_strings->SetString("removeLegacySupervisedUserWarningText", |
| 805 l10n_util::GetStringFUTF16( | 805 l10n_util::GetStringFUTF16( |
| 806 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING, | 806 IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING, |
| 807 base::UTF8ToUTF16( | 807 base::UTF8ToUTF16( |
| 808 chrome::kLegacySupervisedUserManagementDisplayURL))); | 808 chrome::kLegacySupervisedUserManagementDisplayURL))); |
| 809 localized_strings->SetString( |
| 810 "removeNonOwnerUserWarningText", |
| 811 l10n_util::GetStringUTF16(IDS_LOGIN_POD_NON_OWNER_USER_REMOVE_WARNING)); |
| 809 | 812 |
| 810 // Strings needed for the User Manager tutorial slides. | 813 // Strings needed for the User Manager tutorial slides. |
| 811 localized_strings->SetString("tutorialNext", | 814 localized_strings->SetString("tutorialNext", |
| 812 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_NEXT)); | 815 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_NEXT)); |
| 813 localized_strings->SetString("tutorialDone", | 816 localized_strings->SetString("tutorialDone", |
| 814 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_DONE)); | 817 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_DONE)); |
| 815 localized_strings->SetString("slideWelcomeTitle", | 818 localized_strings->SetString("slideWelcomeTitle", |
| 816 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_SLIDE_INTRO_TITLE)); | 819 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_SLIDE_INTRO_TITLE)); |
| 817 localized_strings->SetString("slideWelcomeText", | 820 localized_strings->SetString("slideWelcomeText", |
| 818 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_SLIDE_INTRO_TEXT)); | 821 l10n_util::GetStringUTF16(IDS_USER_MANAGER_TUTORIAL_SLIDE_INTRO_TEXT)); |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 Profile* profile, Profile::CreateStatus profile_create_status) { | 1018 Profile* profile, Profile::CreateStatus profile_create_status) { |
| 1016 Browser* browser = chrome::FindAnyBrowser(profile, false); | 1019 Browser* browser = chrome::FindAnyBrowser(profile, false); |
| 1017 if (browser && browser->window()) { | 1020 if (browser && browser->window()) { |
| 1018 OnBrowserWindowReady(browser); | 1021 OnBrowserWindowReady(browser); |
| 1019 } else { | 1022 } else { |
| 1020 registrar_.Add(this, | 1023 registrar_.Add(this, |
| 1021 chrome::NOTIFICATION_BROWSER_WINDOW_READY, | 1024 chrome::NOTIFICATION_BROWSER_WINDOW_READY, |
| 1022 content::NotificationService::AllSources()); | 1025 content::NotificationService::AllSources()); |
| 1023 } | 1026 } |
| 1024 } | 1027 } |
| OLD | NEW |