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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm

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
Index: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
index 21c4a8591d526b1fd4a92524d10fa574dbf24039..5a7480fb00c3eca1cdfc51841a16d7f6b96e6398 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_view_controller.mm
@@ -188,7 +188,7 @@ NSTextField* AddTextField(
// OK button.
[self addButton:okButton_
- withTitle:IDS_ENTERPRISE_SIGNIN_CONTINUE_NEW_STYLE
+ withTitle:IDS_ENTERPRISE_SIGNIN_CONTINUE
target:self
action:@selector(ok:)
shouldAutoSize:YES];
@@ -214,7 +214,7 @@ NSTextField* AddTextField(
// Create Profile link.
if (offerProfileCreation_) {
[self addButton:createProfileButton_
- withTitle:IDS_ENTERPRISE_SIGNIN_CREATE_NEW_PROFILE_NEW_STYLE
+ withTitle:IDS_ENTERPRISE_SIGNIN_CREATE_NEW_PROFILE
target:self
action:@selector(createProfile:)
shouldAutoSize:YES];
@@ -224,7 +224,7 @@ NSTextField* AddTextField(
titleField_.reset(
[AddTextField([self view],
l10n_util::GetStringUTF16(
- IDS_ENTERPRISE_SIGNIN_TITLE_NEW_STYLE),
+ IDS_ENTERPRISE_SIGNIN_TITLE),
chrome_style::kTitleFontStyle) retain]);
[titleField_ setFrame:ComputeFrame(
[titleField_ attributedStringValue], 0.0, 0.0)];
@@ -268,7 +268,7 @@ NSTextField* AddTextField(
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);
promptField_.reset(
[AddTextField(promptBox_, prompt_text, chrome_style::kTextFontStyle)
@@ -294,8 +294,8 @@ NSTextField* AddTextField(
const base::string16 explanation_text =
l10n_util::GetStringFUTF16(
offerProfileCreation_ ?
- 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);
// HyperlinkTextView requires manually inserting the link text
// into the middle of the message text. To do this we slice out

Powered by Google App Engine
This is Rietveld 408576698