summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/location_bar_view_mac.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 03:57:04 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 03:57:04 +0000
commit22f5aaa21ecb93bef8b0171b50137e5bc1c838bd (patch)
tree7f24b41dfecfc230155d4f29a3071024d5292738 /chrome/browser/cocoa/location_bar_view_mac.h
parente3c6f51fcf256b17a1469c00b1f3fd7e6be0f914 (diff)
downloadchromium_src-22f5aaa21ecb93bef8b0171b50137e5bc1c838bd.zip
chromium_src-22f5aaa21ecb93bef8b0171b50137e5bc1c838bd.tar.gz
chromium_src-22f5aaa21ecb93bef8b0171b50137e5bc1c838bd.tar.bz2
[Mac] The autocomplete popup now gets its position from the toolbar controller,
rather than simply growing its width by 2*height. BUG=None TEST=The autocomplete popup should continue to appear in the same location. Review URL: http://codereview.chromium.org/173439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24586 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/location_bar_view_mac.h')
-rw-r--r--chrome/browser/cocoa/location_bar_view_mac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/location_bar_view_mac.h b/chrome/browser/cocoa/location_bar_view_mac.h
index 646d31e..6a4099d 100644
--- a/chrome/browser/cocoa/location_bar_view_mac.h
+++ b/chrome/browser/cocoa/location_bar_view_mac.h
@@ -13,6 +13,7 @@
#include "chrome/browser/autocomplete/autocomplete_edit_view_mac.h"
#include "chrome/browser/location_bar.h"
+class AutocompletePopupPositioner;
@class AutocompleteTextField;
class CommandUpdater;
class Profile;
@@ -27,6 +28,7 @@ class LocationBarViewMac : public AutocompleteEditController,
public LocationBarTesting {
public:
LocationBarViewMac(AutocompleteTextField* field,
+ AutocompletePopupPositioner* positioner,
CommandUpdater* command_updater,
ToolbarModel* toolbar_model,
Profile* profile);