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 28f07cc9f68b2bc83cd1d7d6a750ae4736a4624c..181d4ac6aac48b503a5be5ce1861de723f2231b9 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 |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/ui/autofill/password_generation_popup_view.h" |
#include "chrome/browser/ui/views/autofill/autofill_popup_base_view.h" |
+#include "ui/gfx/font_list.h" |
#include "ui/views/controls/styled_label_listener.h" |
namespace views { |
@@ -29,8 +30,10 @@ class PasswordGenerationPopupViewViews : public AutofillPopupBaseView, |
// PasswordGenerationPopupView implementation |
virtual void Show() OVERRIDE; |
virtual void Hide() OVERRIDE; |
+ virtual int GetHeight(int width) OVERRIDE; |
virtual void UpdateBoundsAndRedrawPopup() OVERRIDE; |
virtual void PasswordSelectionUpdated() OVERRIDE; |
+ virtual bool IsPointInPasswordBounds(const gfx::Point& point) OVERRIDE; |
private: |
virtual ~PasswordGenerationPopupViewViews(); |
@@ -50,6 +53,12 @@ class PasswordGenerationPopupViewViews : public AutofillPopupBaseView, |
views::View* password_view_; |
views::StyledLabel* help_label_; |
+ // Fonts to use. |
+ gfx::FontList font_list_; |
+ |
+ // Size of the divider between the password and the help text. |
+ gfx::Rect divider_bounds_; |
+ |
// Controller for this view. Weak reference. |
PasswordGenerationPopupController* controller_; |