Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc |
diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc |
index 33272c1da37ccadb90a18ff2e324e36c03da5397..7a3459adc8e171b1c3eac6c11bc0431376f7e0c7 100644 |
--- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc |
+++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc |
@@ -18,11 +18,6 @@ namespace autofill { |
namespace { |
-const SkColor kExplanatoryTextBackground = SkColorSetRGB(0xF5, 0xF5, 0xF5); |
-const SkColor kExplanatoryTextColor = SkColorSetRGB(0x66, 0x66, 0x66); |
-const SkColor kDividerColor = SkColorSetRGB(0xE9, 0xE9, 0xE9); |
-const SkColor kLinkColor = SkColorSetRGB(0x55, 0x59, 0xFE); |
- |
// The amount of whitespace that is present when there is no padding. Used |
// to get the proper spacing in the help section. |
const int kHelpVerticalOffset = 3; |
@@ -48,7 +43,8 @@ class PasswordRow : public views::View { |
suggestion_label_ = new views::Label(suggestion, font_list); |
suggestion_label_->SetHorizontalAlignment(gfx::ALIGN_RIGHT); |
- suggestion_label_->SetEnabledColor(kExplanatoryTextColor); |
+ suggestion_label_->SetEnabledColor( |
+ PasswordGenerationPopupView::kExplanatoryTextColor); |
AddChildView(suggestion_label_); |
} |
virtual ~PasswordRow() {} |
@@ -90,7 +86,8 @@ PasswordGenerationPopupViewViews::PasswordGenerationPopupViewViews( |
help_label_->SetBoundsRect(controller_->help_bounds()); |
help_label_->set_background( |
- views::Background::CreateSolidBackground(kExplanatoryTextBackground)); |
+ views::Background::CreateSolidBackground( |
+ kExplanatoryTextBackgroundColor)); |
help_label_->SetBorder(views::Border::CreateEmptyBorder( |
controller_->kHelpVerticalPadding - kHelpVerticalOffset, |
controller_->kHorizontalPadding, |