| Index: chrome/browser/ui/autofill/password_generation_popup_controller.h
|
| diff --git a/chrome/browser/ui/autofill/password_generation_popup_controller.h b/chrome/browser/ui/autofill/password_generation_popup_controller.h
|
| index 91bbe9f42983ac18d99cdc63342c316f5996ef95..e157c93231dfc921a2c18837f3977cfc07e942e6 100644
|
| --- a/chrome/browser/ui/autofill/password_generation_popup_controller.h
|
| +++ b/chrome/browser/ui/autofill/password_generation_popup_controller.h
|
| @@ -8,32 +8,40 @@
|
| #include "base/strings/string16.h"
|
| #include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
|
|
|
| +namespace gfx {
|
| +class FontList;
|
| +class Range;
|
| +}
|
| +
|
| namespace autofill {
|
|
|
| class PasswordGenerationPopupController : public AutofillPopupViewDelegate {
|
| public:
|
| // Space above and below the password section.
|
| - static const int kPasswordVerticalPadding = 14;
|
| + static const int kPasswordVerticalPadding = 16;
|
|
|
| // Space above and below help section.
|
| static const int kHelpVerticalPadding = 15;
|
|
|
| // Spacing between the border of the popup and any text.
|
| - static const int kHorizontalPadding = 9;
|
| + static const int kHorizontalPadding = 10;
|
|
|
| - // Called by the view when the help link is clicked.
|
| - virtual void OnHelpLinkClicked() = 0;
|
| + // Called by the view when the saved passwords link is clicked.
|
| + virtual void OnSavedPasswordsLinkClicked() = 0;
|
|
|
| // Accessors
|
| + virtual const gfx::FontList& font_list() const = 0;
|
| virtual const gfx::Rect& password_bounds() const = 0;
|
| virtual const gfx::Rect& divider_bounds() const = 0;
|
| virtual const gfx::Rect& help_bounds() const = 0;
|
| + virtual bool display_password() const = 0;
|
| virtual bool password_selected() const = 0;
|
| virtual base::string16 password() const = 0;
|
|
|
| // Translated strings
|
| - virtual base::string16 HelpText() = 0;
|
| - virtual base::string16 LearnMoreLink() = 0;
|
| + virtual base::string16 SuggestedText() = 0;
|
| + virtual const base::string16& HelpText() = 0;
|
| + virtual const gfx::Range& HelpTextLinkRange() = 0;
|
|
|
| protected:
|
| virtual ~PasswordGenerationPopupController() {}
|
|
|