summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 20:42:54 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 20:42:54 +0000
commitf409f566b898a7b10e1baceecbcaa26cfd0b17f3 (patch)
tree475c09c88b6159ccd447204ae54b565b07f25113 /chrome/browser/views/location_bar_view.h
parent72a9cd3f9e52ff4ff16df9bb018a23c08e455af7 (diff)
downloadchromium_src-f409f566b898a7b10e1baceecbcaa26cfd0b17f3.zip
chromium_src-f409f566b898a7b10e1baceecbcaa26cfd0b17f3.tar.gz
chromium_src-f409f566b898a7b10e1baceecbcaa26cfd0b17f3.tar.bz2
Make the omnibox popup look nicer. Add dropshadow images (not final). Experiment with some effects.
Adds a positioner interface that allows the popup to size itself to the width of the edit view + the width of the star and go buttons. (Basically the toolbar needs to help the popup position itself). No results yet! Review URL: http://codereview.chromium.org/68011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.h')
-rw-r--r--chrome/browser/views/location_bar_view.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h
index d0bcdb2..93df32e 100644
--- a/chrome/browser/views/location_bar_view.h
+++ b/chrome/browser/views/location_bar_view.h
@@ -20,6 +20,7 @@
#include "chrome/views/controls/label.h"
#include "chrome/views/painter.h"
+class AutocompletePopupPositioner;
class CommandUpdater;
class GURL;
class Profile;
@@ -51,7 +52,8 @@ class LocationBarView : public LocationBar,
CommandUpdater* command_updater,
ToolbarModel* model_,
Delegate* delegate,
- bool popup_window_mode);
+ bool popup_window_mode,
+ AutocompletePopupPositioner* popup_positioner);
virtual ~LocationBarView() { }
void Init();
@@ -446,6 +448,9 @@ 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_;
};
#endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__