Chromium Code Reviews

Unified Diff: chrome/browser/chromeos/compact_navigation_bar.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.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/chromeos/compact_navigation_bar.h
===================================================================
--- chrome/browser/chromeos/compact_navigation_bar.h (revision 26251)
+++ chrome/browser/chromeos/compact_navigation_bar.h (working copy)
@@ -8,7 +8,7 @@
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/autocomplete/autocomplete_edit.h"
-#include "chrome/browser/autocomplete/autocomplete_popup_view.h"
+#include "chrome/browser/bubble_positioner.h"
#include "views/controls/button/button.h"
#include "views/view.h"
@@ -26,7 +26,7 @@
class CompactNavigationBar : public views::View,
public views::ButtonListener,
public AutocompleteEditController,
- public AutocompletePopupPositioner {
+ public BubblePositioner {
public:
explicit CompactNavigationBar(Browser* browser);
virtual ~CompactNavigationBar();
@@ -55,8 +55,8 @@
virtual SkBitmap GetFavIcon() const;
virtual std::wstring GetTitle() const;
- // AutocompletePopupPositioner implementation.
- virtual gfx::Rect GetPopupBounds() const;
+ // BubblePositioner:
+ virtual gfx::Rect GetLocationStackBounds() const;
void AddTabWithURL(const GURL& url, PageTransition::Type transition);

Powered by Google App Engine