summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/location_bar_view_gtk.h
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 08:13:43 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 08:13:43 +0000
commitaa90e58c7e88cbcae7e4a7667e047c320a3fc0aa (patch)
treeb5941c6472ea95896937f83548d06941b48af26d /chrome/browser/gtk/location_bar_view_gtk.h
parent1b24f85903fca15bb44122c43c2e0e4548d1e094 (diff)
downloadchromium_src-aa90e58c7e88cbcae7e4a7667e047c320a3fc0aa.zip
chromium_src-aa90e58c7e88cbcae7e4a7667e047c320a3fc0aa.tar.gz
chromium_src-aa90e58c7e88cbcae7e4a7667e047c320a3fc0aa.tar.bz2
Use AutocompletePopupPositioner for the Linux Omnibox.
Now a few less magic numbers in exchange for a lot more plumbing. BUG=10966 Review URL: http://codereview.chromium.org/92127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14592 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/location_bar_view_gtk.h')
-rw-r--r--chrome/browser/gtk/location_bar_view_gtk.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/gtk/location_bar_view_gtk.h b/chrome/browser/gtk/location_bar_view_gtk.h
index 0fd64fa..bf7a8f1 100644
--- a/chrome/browser/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/gtk/location_bar_view_gtk.h
@@ -19,6 +19,7 @@
#include "webkit/glue/window_open_disposition.h"
class AutocompleteEditViewGtk;
+class AutocompletePopupPositioner;
class CommandUpdater;
class Profile;
class SkBitmap;
@@ -29,7 +30,8 @@ class LocationBarViewGtk : public AutocompleteEditController,
public LocationBar {
public:
LocationBarViewGtk(CommandUpdater* command_updater,
- ToolbarModel* toolbar_model);
+ ToolbarModel* toolbar_model,
+ AutocompletePopupPositioner* popup_positioner);
~LocationBarViewGtk();
void Init();
@@ -92,6 +94,9 @@ class LocationBarViewGtk : public AutocompleteEditController,
CommandUpdater* command_updater_;
ToolbarModel* toolbar_model_;
+ // We need to hold on to this just to it pass to the edit.
+ AutocompletePopupPositioner* popup_positioner_;
+
// When we get an OnAutocompleteAccept notification from the autocomplete
// edit, we save the input string so we can give it back to the browser on
// the LocationBar interface via GetInputString().