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()); |
+} |
+ |