| Index: chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| index d0ab107e7bbff6a4958398c57ffb04b117b2ac2e..5fab799ec4654eea8a4b3ddb7dd8046eef864ce9 100644
|
| --- a/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| +++ b/chrome/browser/ui/autofill/autofill_popup_controller_impl.h
|
| @@ -11,6 +11,7 @@
|
| #include "content/public/browser/keyboard_listener.h"
|
| #include "ui/gfx/font.h"
|
| #include "ui/gfx/rect.h"
|
| +#include "ui/gfx/rect_f.h"
|
|
|
| class AutofillPopupDelegate;
|
| class AutofillPopupView;
|
| @@ -36,7 +37,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController,
|
| AutofillPopupControllerImpl* previous,
|
| AutofillPopupDelegate* delegate,
|
| gfx::NativeView container_view,
|
| - const gfx::Rect& element_bounds);
|
| + const gfx::RectF& element_bounds);
|
|
|
| // Shows the popup, or updates the existing popup with the given values.
|
| void Show(const std::vector<string16>& names,
|
| @@ -58,7 +59,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController,
|
|
|
| AutofillPopupControllerImpl(AutofillPopupDelegate* delegate,
|
| gfx::NativeView container_view,
|
| - const gfx::Rect& element_bounds);
|
| + const gfx::RectF& element_bounds);
|
| virtual ~AutofillPopupControllerImpl();
|
|
|
| // AutofillPopupController implementation.
|
| @@ -74,7 +75,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController,
|
| virtual void SetPopupBounds(const gfx::Rect& bounds) OVERRIDE;
|
| virtual const gfx::Rect& popup_bounds() const OVERRIDE;
|
| virtual gfx::NativeView container_view() const OVERRIDE;
|
| - virtual const gfx::Rect& element_bounds() const OVERRIDE;
|
| + virtual const gfx::RectF& element_bounds() const OVERRIDE;
|
| virtual const std::vector<string16>& names() const OVERRIDE;
|
| virtual const std::vector<string16>& subtexts() const OVERRIDE;
|
| virtual const std::vector<string16>& icons() const OVERRIDE;
|
| @@ -172,7 +173,7 @@ class AutofillPopupControllerImpl : public AutofillPopupController,
|
|
|
| // The bounds of the text element that is the focus of the Autofill.
|
| // These coordinates are in screen space.
|
| - const gfx::Rect element_bounds_;
|
| + const gfx::RectF element_bounds_;
|
|
|
| // The bounds of the Autofill popup.
|
| gfx::Rect popup_bounds_;
|
|
|