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

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_view.h

Issue 3417011: Makes match preview send the dimensions of the omnibox to the page. (Closed)
Patch Set: Fix unittest Created 10 years, 3 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_model.cc ('k') | chrome/browser/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_model.cc ('k') | chrome/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698