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

Unified Diff: chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 5 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/ui/views/autocomplete/autocomplete_result_view.cc
===================================================================
--- chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (revision 93757)
+++ chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc (working copy)
@@ -528,3 +528,9 @@
mirroring_context_->Initialize(x, text_bounds_.width());
PaintMatch(canvas, match_, x);
}
+
+gfx::Size AutocompleteResultView::GetCollapsedSize() {
+ return gfx::Size(icon_bounds_.right() + LocationBarView::kItemPadding +
+ ellipsis_width_ + LocationBarView::kItemPadding, height());
+}
+

Powered by Google App Engine
This is Rietveld 408576698