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

Side by Side Diff: chrome/browser/ui/webui/signin/signin_create_profile_handler.cc

Issue 1916913010: MD User Manager: latest design change, css refactoring, accessiblity, and bug fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@md-user-manager-stylesheets
Patch Set: Created 4 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/signin_create_profile_handler.h" 5 #include "chrome/browser/ui/webui/signin/signin_create_profile_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 CancelProfileRegistration(false); 57 CancelProfileRegistration(false);
58 #endif 58 #endif
59 } 59 }
60 60
61 void SigninCreateProfileHandler::GetLocalizedValues( 61 void SigninCreateProfileHandler::GetLocalizedValues(
62 base::DictionaryValue* localized_strings) { 62 base::DictionaryValue* localized_strings) {
63 localized_strings->SetString( 63 localized_strings->SetString(
64 "manageProfilesSupervisedSignedInLabel", 64 "manageProfilesSupervisedSignedInLabel",
65 l10n_util::GetStringUTF16( 65 l10n_util::GetStringUTF16(
66 IDS_PROFILES_CREATE_SUPERVISED_MULTI_SIGNED_IN_LABEL)); 66 IDS_PROFILES_CREATE_SUPERVISED_MULTI_SIGNED_IN_LABEL));
67 localized_strings->SetString(
68 "noSignedInUserMessage",
69 l10n_util::GetStringUTF16(
70 IDS_PROFILES_CREATE_SUPERVISED_NO_SIGNED_IN_USER_TEXT));
67 localized_strings->SetString("createProfileConfirm", 71 localized_strings->SetString("createProfileConfirm",
68 l10n_util::GetStringUTF16(IDS_SAVE)); 72 l10n_util::GetStringUTF16(IDS_SAVE));
69 localized_strings->SetString("learnMore", 73 localized_strings->SetString("learnMore",
70 l10n_util::GetStringUTF16(IDS_LEARN_MORE)); 74 l10n_util::GetStringUTF16(IDS_LEARN_MORE));
71 localized_strings->SetString( 75 localized_strings->SetString(
72 "selectAnAccount", 76 "selectAnAccount",
73 l10n_util::GetStringUTF16( 77 l10n_util::GetStringUTF16(
74 IDS_PROFILES_CREATE_SUPERVISED_SENTINEL_MENU_ITEM_TEXT)); 78 IDS_PROFILES_CREATE_SUPERVISED_SENTINEL_MENU_ITEM_TEXT));
75 localized_strings->SetString( 79 localized_strings->SetString(
76 "createProfileTitle", 80 "createProfileTitle",
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 Profile* profile = g_browser_process->profile_manager()-> 749 Profile* profile = g_browser_process->profile_manager()->
746 GetProfileByPath(profile_file_path); 750 GetProfileByPath(profile_file_path);
747 DCHECK(profile); 751 DCHECK(profile);
748 752
749 profiles::FindOrCreateNewWindowForProfile( 753 profiles::FindOrCreateNewWindowForProfile(
750 profile, chrome::startup::IS_PROCESS_STARTUP, 754 profile, chrome::startup::IS_PROCESS_STARTUP,
751 chrome::startup::IS_FIRST_RUN, false); 755 chrome::startup::IS_FIRST_RUN, false);
752 } 756 }
753 757
754 #endif 758 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698