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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc

Issue 2626723002: Remove some string IDS' _NEW_STYLE suffix and some unused IDS. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
index 44cffa44dc1ab15815272d0faf0fa702641779be..1ee37beef818dcebd047089e0f82086eb244dc6e 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
@@ -81,7 +81,7 @@ void ProfileSigninConfirmationDialogViews::Show(bool prompt_for_new_profile) {
base::string16 ProfileSigninConfirmationDialogViews::GetWindowTitle() const {
return l10n_util::GetStringUTF16(
- IDS_ENTERPRISE_SIGNIN_TITLE_NEW_STYLE);
+ IDS_ENTERPRISE_SIGNIN_TITLE);
}
base::string16 ProfileSigninConfirmationDialogViews::GetDialogButtonLabel(
@@ -91,8 +91,8 @@ base::string16 ProfileSigninConfirmationDialogViews::GetDialogButtonLabel(
// "Create new profile". Otherwise it is "Continue signin".
return l10n_util::GetStringUTF16(
prompt_for_new_profile_ ?
- IDS_ENTERPRISE_SIGNIN_CREATE_NEW_PROFILE_NEW_STYLE :
- IDS_ENTERPRISE_SIGNIN_CONTINUE_NEW_STYLE);
+ IDS_ENTERPRISE_SIGNIN_CREATE_NEW_PROFILE :
+ IDS_ENTERPRISE_SIGNIN_CONTINUE);
}
return l10n_util::GetStringUTF16(IDS_ENTERPRISE_SIGNIN_CANCEL);
}
@@ -106,7 +106,7 @@ views::View* ProfileSigninConfirmationDialogViews::CreateExtraView() {
return nullptr;
const base::string16 continue_signin_text =
- l10n_util::GetStringUTF16(IDS_ENTERPRISE_SIGNIN_CONTINUE_NEW_STYLE);
+ l10n_util::GetStringUTF16(IDS_ENTERPRISE_SIGNIN_CONTINUE);
return views::MdTextButton::CreateSecondaryUiButton(this,
continue_signin_text);
}
@@ -151,7 +151,7 @@ void ProfileSigninConfirmationDialogViews::ViewHierarchyChanged(
const base::string16 username = base::ASCIIToUTF16(username_);
const base::string16 prompt_text =
l10n_util::GetStringFUTF16(
- IDS_ENTERPRISE_SIGNIN_ALERT_NEW_STYLE,
+ IDS_ENTERPRISE_SIGNIN_ALERT,
domain, &offset);
views::StyledLabel* prompt_label = new views::StyledLabel(prompt_text, this);
prompt_label->SetDisplayedOnBackgroundColor(kPromptBarBackgroundColor);
@@ -177,8 +177,8 @@ void ProfileSigninConfirmationDialogViews::ViewHierarchyChanged(
IDS_ENTERPRISE_SIGNIN_PROFILE_LINK_LEARN_MORE);
const base::string16 signin_explanation_text =
l10n_util::GetStringFUTF16(prompt_for_new_profile_ ?
- IDS_ENTERPRISE_SIGNIN_EXPLANATION_WITH_PROFILE_CREATION_NEW_STYLE :
- IDS_ENTERPRISE_SIGNIN_EXPLANATION_WITHOUT_PROFILE_CREATION_NEW_STYLE,
+ IDS_ENTERPRISE_SIGNIN_EXPLANATION_WITH_PROFILE_CREATION :
+ IDS_ENTERPRISE_SIGNIN_EXPLANATION_WITHOUT_PROFILE_CREATION,
username, learn_more_text, &offsets);
views::StyledLabel* explanation_label =
new views::StyledLabel(signin_explanation_text, this);
« no previous file with comments | « chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller_browsertest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698