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

Unified Diff: chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc

Issue 595353003: [Password Generation] Small UI tweaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/autofill/password_generation_popup_view.cc ('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/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 ea8fa32cb4ca601c9cd37817f72308c9fe61cf1b..87687133fddfedc3b262617b8c7b1944bbaa662f 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
@@ -40,7 +40,7 @@ class PasswordTextBox : public views::View {
const base::string16& generated_password,
const gfx::FontList& font_list) {
views::BoxLayout* box_layout = new views::BoxLayout(
- views::BoxLayout::kVertical, 0, 10, 5);
+ views::BoxLayout::kVertical, 0, 12, 5);
box_layout->set_main_axis_alignment(
views::BoxLayout::MAIN_AXIS_ALIGNMENT_START);
SetLayoutManager(box_layout);
@@ -49,14 +49,14 @@ class PasswordTextBox : public views::View {
suggestion_text, font_list.DeriveWithStyle(gfx::Font::BOLD));
suggestion_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
suggestion_label->SetEnabledColor(
- PasswordGenerationPopupViewViews::kItemTextColor);
+ PasswordGenerationPopupView::kPasswordTextColor);
AddChildView(suggestion_label);
views::Label* password_label =
new views::Label(generated_password, font_list);
password_label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
password_label->SetEnabledColor(
- PasswordGenerationPopupViewViews::kItemTextColor);
+ PasswordGenerationPopupView::kPasswordTextColor);
AddChildView(password_label);
}
« no previous file with comments | « chrome/browser/ui/autofill/password_generation_popup_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698