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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 19531006: requestAutocomplete: fix some text colors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +PreferredSizeChanged override Created 7 years, 5 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 | « no previous file | chrome/browser/ui/autofill/autofill_dialog_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6ed07ecd3e9b7abbf5d95042a22ed4b8b7317c2d..d59175f0d4ceac6add334eb989c37c60c0a7f064 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
@@ -808,14 +808,12 @@ DialogOverlayState AutofillDialogControllerImpl::GetDialogOverlay() const {
cc_number.substr(cc_number.size() - 4));
string.text = l10n_util::GetStringUTF16(
IDS_AUTOFILL_DIALOG_CARD_GENERATION_DONE);
- // TODO(estade): figure out correct color.
- string.text_color = SK_ColorGRAY;
+ string.text_color = SK_ColorBLACK;
state.strings.push_back(DialogOverlayString());
DialogOverlayString& subtext = state.strings.back();
subtext.font = rb.GetFont(ui::ResourceBundle::BaseFont);
- // TODO(estade): figure out correct color.
- subtext.text_color = SK_ColorGRAY;
+ subtext.text_color = SkColorSetRGB(102, 102, 102);
subtext.text = l10n_util::GetStringUTF16(
IDS_AUTOFILL_DIALOG_CARD_GENERATION_EXPLANATION);
@@ -829,8 +827,7 @@ DialogOverlayState AutofillDialogControllerImpl::GetDialogOverlay() const {
// "Submitting" waiting page.
string.text = l10n_util::GetStringUTF16(
IDS_AUTOFILL_DIALOG_CARD_GENERATION_IN_PROGRESS);
- // TODO(estade): figure out correct color.
- string.text_color = SK_ColorGRAY;
+ string.text_color = SK_ColorBLACK;
string.alignment = gfx::ALIGN_CENTER;
}
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698