| Index: chrome/browser/ui/views/autofill/password_generation_popup_view_views.h
|
| diff --git a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.h b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.h
|
| index 9fe5d44824eda637852eeebfef32979328ce2852..6fa8d6c58453bdd214ac00a3c380e51585e3cd61 100644
|
| --- a/chrome/browser/ui/views/autofill/password_generation_popup_view_views.h
|
| +++ b/chrome/browser/ui/views/autofill/password_generation_popup_view_views.h
|
| @@ -10,7 +10,8 @@
|
| #include "ui/views/controls/styled_label_listener.h"
|
|
|
| namespace views {
|
| -class Label;
|
| +class StyledLabel;
|
| +class View;
|
| }
|
|
|
| namespace autofill {
|
| @@ -33,6 +34,9 @@ class PasswordGenerationPopupViewViews : public AutofillPopupBaseView,
|
| private:
|
| virtual ~PasswordGenerationPopupViewViews();
|
|
|
| + // Helper function to create |password_view_|.
|
| + void CreatePasswordView();
|
| +
|
| // views:Views implementation.
|
| virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
|
|
|
| @@ -40,9 +44,9 @@ class PasswordGenerationPopupViewViews : public AutofillPopupBaseView,
|
| virtual void StyledLabelLinkClicked(const gfx::Range& range,
|
| int event_flags) OVERRIDE;
|
|
|
| - // Label for the generated password. Used to change the background color when
|
| - // the password is selected/deselected. Weak reference.
|
| - views::Label* password_label_;
|
| + // Sub views. Used to change bounds when updating. Weak references.
|
| + views::View* password_view_;
|
| + views::StyledLabel* help_label_;
|
|
|
| // Controller for this view. Weak reference.
|
| PasswordGenerationPopupController* controller_;
|
|
|