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

Unified Diff: chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h

Issue 194110: Convert the AutocompletePopupPositioner into a BubblePositioner in preparatio... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
Index: chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h (revision 26251)
+++ chrome/browser/views/autocomplete/autocomplete_popup_contents_view.h (working copy)
@@ -55,7 +55,7 @@
AutocompleteEditView* edit_view,
AutocompleteEditModel* edit_model,
Profile* profile,
- AutocompletePopupPositioner* popup_positioner);
+ const BubblePositioner* bubble_positioner);
virtual ~AutocompletePopupContentsView() {}
// Returns the bounds the popup should be shown at. This is the display bounds
@@ -117,8 +117,11 @@
AutocompleteEditView* edit_view_;
// An object that tells the popup how to position itself.
- AutocompletePopupPositioner* popup_positioner_;
+ const BubblePositioner* bubble_positioner_;
+ // Our border, which can compute our desired bounds.
+ const BubbleBorder* bubble_border_;
+
// The font that we should use for result rows. This is based on the font used
// by the edit that created us.
gfx::Font result_font_;

Powered by Google App Engine
This is Rietveld 408576698