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

Unified Diff: chrome/browser/ui/autofill/password_generation_popup_controller.h

Issue 342833002: [Password Generation] Update Aura UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Coments Created 6 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
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 e157c93231dfc921a2c18837f3977cfc07e942e6..cd912ecaa2c52a1d9b0c9e24a1f0d9395b87abe4 100644
--- a/chrome/browser/ui/autofill/password_generation_popup_controller.h
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller.h
@@ -9,7 +9,6 @@
#include "chrome/browser/ui/autofill/autofill_popup_view_delegate.h"
namespace gfx {
-class FontList;
class Range;
}
@@ -17,9 +16,6 @@ namespace autofill {
class PasswordGenerationPopupController : public AutofillPopupViewDelegate {
public:
- // Space above and below the password section.
- static const int kPasswordVerticalPadding = 16;
-
// Space above and below help section.
static const int kHelpVerticalPadding = 15;
@@ -29,11 +25,10 @@ class PasswordGenerationPopupController : public AutofillPopupViewDelegate {
// Called by the view when the saved passwords link is clicked.
virtual void OnSavedPasswordsLinkClicked() = 0;
+ // Return the minimum allowable width for the popup.
+ virtual int GetMinimumWidth() = 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;

Powered by Google App Engine
This is Rietveld 408576698