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

Unified Diff: chrome/browser/chromeos/compact_navigation_bar.cc

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/chromeos/compact_navigation_bar.cc
===================================================================
--- chrome/browser/chromeos/compact_navigation_bar.cc (revision 26251)
+++ chrome/browser/chromeos/compact_navigation_bar.cc (working copy)
@@ -199,10 +199,10 @@
return std::wstring();
}
-gfx::Rect CompactNavigationBar::GetPopupBounds() const {
- gfx::Point upper_left(0, height());
- ConvertPointToScreen(this, &upper_left);
- return gfx::Rect(upper_left.x(), upper_left.y(), 700, 100);
+gfx::Rect CompactNavigationBar::GetLocationStackBounds() const {
+ gfx::Point origin;
+ ConvertPointToScreen(this, &origin);
+ return gfx::Rect(origin, size());
}
void CompactNavigationBar::AddTabWithURL(const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698