Index: chrome/browser/autocomplete/autocomplete_popup_view.h |
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view.h b/chrome/browser/autocomplete/autocomplete_popup_view.h |
index 5eb8c82856bb8c6159d11fcf3a96ff60158ab677..279d63d3391382d4249c68c924819c08288267fc 100644 |
--- a/chrome/browser/autocomplete/autocomplete_popup_view.h |
+++ b/chrome/browser/autocomplete/autocomplete_popup_view.h |
@@ -30,6 +30,13 @@ class AutocompletePopupView { |
// mean opening or closing the window. |
virtual void UpdatePopupAppearance() = 0; |
+#if defined(TOOLKIT_VIEWS) |
+ // Returns the target bounds for the popup. This returns the popup's current |
+ // bounds when not animating, or the desired target bounds when animating. |
+ // The return value is in screen coordinates. |
+ virtual gfx::Rect GetTargetBounds() = 0; |
+#endif |
+ |
// Paint any pending updates. |
virtual void PaintUpdatesNow() = 0; |