Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1595)

Unified Diff: chrome/browser/gtk/browser_toolbar_gtk.h

Issue 194110: Convert the AutocompletePopupPositioner into a BubblePositioner in preparatio... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/gtk/browser_toolbar_gtk.h
===================================================================
--- chrome/browser/gtk/browser_toolbar_gtk.h (revision 26251)
+++ chrome/browser/gtk/browser_toolbar_gtk.h (working copy)
@@ -9,7 +9,7 @@
#include <string>
#include "base/scoped_ptr.h"
-#include "chrome/browser/autocomplete/autocomplete_popup_view.h"
+#include "chrome/browser/bubble_positioner.h"
#include "chrome/browser/command_updater.h"
#include "chrome/browser/gtk/menu_bar_helper.h"
#include "chrome/browser/gtk/menu_gtk.h"
@@ -35,7 +35,7 @@
class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
public MenuGtk::Delegate,
public NotificationObserver,
- public AutocompletePopupPositioner,
+ public BubblePositioner,
public MenuBarHelper::Delegate {
public:
explicit BrowserToolbarGtk(Browser* browser, BrowserWindowGtk* window);
@@ -87,9 +87,8 @@
ToolbarStarToggleGtk* star() { return star_.get(); }
- // Implement AutocompletePopupPositioner, return the position of where the
- // Omnibox results popup should go (from the star to the go buttons).
- virtual gfx::Rect GetPopupBounds() const;
+ // BubblePositioner:
+ virtual gfx::Rect GetLocationStackBounds() const;
// MenuBarHelper::Delegate implementation ------------------------------------
virtual void PopupForButton(GtkWidget* button);

Powered by Google App Engine
This is Rietveld 408576698