| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 8defbd4c700f6b596f4af036710ab5e56cfa7e87..c8eb01bde1021035c7619a428d8b4c6899c7426d 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -1359,19 +1359,25 @@ gfx::Image AutofillDialogControllerImpl::ButtonStripImage() const {
|
| return gfx::Image();
|
| }
|
|
|
| -base::string16 AutofillDialogControllerImpl::LabelForSection(
|
| +SectionLabel AutofillDialogControllerImpl::LabelForSection(
|
| DialogSection section) const {
|
| + int ids = 0;
|
| switch (section) {
|
| case SECTION_CC:
|
| - return l10n_util::GetStringUTF16(IDS_AUTOFILL_DIALOG_SECTION_CC);
|
| + ids = IDS_AUTOFILL_DIALOG_SECTION_CC;
|
| + break;
|
| case SECTION_BILLING:
|
| case SECTION_CC_BILLING:
|
| - return l10n_util::GetStringUTF16(IDS_AUTOFILL_DIALOG_SECTION_BILLING);
|
| + ids = IDS_AUTOFILL_DIALOG_SECTION_BILLING;
|
| + break;
|
| case SECTION_SHIPPING:
|
| - return l10n_util::GetStringUTF16(IDS_AUTOFILL_DIALOG_SECTION_SHIPPING);
|
| + ids = IDS_AUTOFILL_DIALOG_SECTION_SHIPPING;
|
| + break;
|
| }
|
| - NOTREACHED();
|
| - return base::string16();
|
| +
|
| + SectionLabel label = { l10n_util::GetStringUTF16(ids),
|
| + ui::ResourceBundle::BoldOnlyIfItLooksGood() };
|
| + return label;
|
| }
|
|
|
| SuggestionState AutofillDialogControllerImpl::SuggestionStateForSection(
|
|
|