Index: chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
index 2550510cd6cbdf952de8300d3e601d78e1cae71f..ea5d255f26ba29338b992464ca710bab4f480c71 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.h |
@@ -38,6 +38,10 @@ class AutofillPopupBaseView : public views::WidgetDelegateView, |
// Update size of popup and paint. |
void DoUpdateBoundsAndRedrawPopup(); |
+ // Gets the bounds of the popup before any rounding. Derived |
+ // classes should restrict their content to these bounds. |
+ gfx::Rect GetPopupBounds() const; |
+ |
private: |
friend class AutofillPopupBaseViewTest; |