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

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

Issue 1578021: Shift omnibox dropdown in and up on Windows, and square off the top, so it co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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_location_bar_view.cc
===================================================================
--- chrome/browser/chromeos/compact_location_bar_view.cc (revision 43969)
+++ chrome/browser/chromeos/compact_location_bar_view.cc (working copy)
@@ -246,14 +246,4 @@
return std::wstring();
}
-////////////////////////////////////////////////////////////////////////////////
-// BubblePositioner overrides:
-gfx::Rect CompactLocationBarView::GetLocationStackBounds() const {
- gfx::Point lower_left(0, height());
- ConvertPointToScreen(this, &lower_left);
- gfx::Rect popup = gfx::Rect(lower_left.x(), lower_left.y(),
- kAutocompletePopupWidth, 0);
- return popup.AdjustToFit(GetWidget()->GetWindow()->GetBounds());
-}
-
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698