diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 22:46:03 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 22:46:03 +0000 |
commit | 413df1b5ebacf0f3bc2ad03020e9f93b92717803 (patch) | |
tree | 92381b78a0b3a1682523b338428688bd4e23cd9e /chrome/browser/views/location_bar_view.h | |
parent | 76665e75f3f10a3171efd3bebfbd9c59a7648a00 (diff) | |
download | chromium_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/views/location_bar_view.h')
-rw-r--r-- | chrome/browser/views/location_bar_view.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h index a9e0a54..b72eca5 100644 --- a/chrome/browser/views/location_bar_view.h +++ b/chrome/browser/views/location_bar_view.h @@ -27,7 +27,7 @@ #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" #endif -class AutocompletePopupPositioner; +class BubblePositioner; class CommandUpdater; class GURL; class PageAction; @@ -73,7 +73,7 @@ class LocationBarView : public LocationBar, ToolbarModel* model, Delegate* delegate, bool popup_window_mode, - AutocompletePopupPositioner* popup_positioner); + const BubblePositioner* bubble_positioner); virtual ~LocationBarView(); void Init(); @@ -339,9 +339,9 @@ class LocationBarView : public LocationBar, class PageActionImageView : public LocationBarImageView, public ImageLoadingTracker::Observer { public: - PageActionImageView( - LocationBarView* owner, Profile* profile, - const PageAction* page_action); + PageActionImageView(LocationBarView* owner, + Profile* profile, + const PageAction* page_action); virtual ~PageActionImageView(); // Overridden from view for the mouse hovering. @@ -518,8 +518,8 @@ class LocationBarView : public LocationBar, // Used schedule a task for the first run info bubble. ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_; - // The positioner that places the autocomplete popup. - AutocompletePopupPositioner* popup_positioner_; + // The positioner that places the omnibox and info bubbles. + const BubblePositioner* bubble_positioner_; // Storage of string needed for accessibility. std::wstring accessible_name_; |