summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 22:46:03 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 22:46:03 +0000
commit413df1b5ebacf0f3bc2ad03020e9f93b92717803 (patch)
tree92381b78a0b3a1682523b338428688bd4e23cd9e /chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
parent76665e75f3f10a3171efd3bebfbd9c59a7648a00 (diff)
downloadchromium_src-413df1b5ebacf0f3bc2ad03020e9f93b92717803.zip
chromium_src-413df1b5ebacf0f3bc2ad03020e9f93b92717803.tar.gz
chromium_src-413df1b5ebacf0f3bc2ad03020e9f93b92717803.tar.bz2
Convert the AutocompletePopupPositioner into a BubblePositioner in preparation for using it to position both the Omnibox bubble and InfoBubbles. It now gets the bounds of the location stack, which can be turned into useful coordinates for both items.
This should not result in any visible change. BUG=21028 TEST=none Review URL: http://codereview.chromium.org/194110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_popup_view_gtk.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_gtk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
index 4125791..eed6182 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.h
@@ -23,7 +23,7 @@ class AutocompletePopupViewGtk : public AutocompletePopupView {
AutocompletePopupViewGtk(AutocompleteEditView* edit_view,
AutocompleteEditModel* edit_model,
Profile* profile,
- AutocompletePopupPositioner* popup_positioner);
+ const BubblePositioner* bubble_positioner);
~AutocompletePopupViewGtk();
// Implement the AutocompletePopupView interface.
@@ -75,7 +75,7 @@ class AutocompletePopupViewGtk : public AutocompletePopupView {
scoped_ptr<AutocompletePopupModel> model_;
AutocompleteEditView* edit_view_;
- AutocompletePopupPositioner* popup_positioner_;
+ const BubblePositioner* bubble_positioner_;
// Our popup window, which is the only widget used, and we paint it on our
// own. This widget shouldn't be exposed outside of this class.