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

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

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.h
===================================================================
--- chrome/browser/ui/views/autocomplete/autocomplete_result_view.h (revision 93757)
+++ chrome/browser/ui/views/autocomplete/autocomplete_result_view.h (working copy)
@@ -47,6 +47,11 @@
// model has changed.
void SetMatch(const AutocompleteMatch& match);
+ gfx::Size GetCollapsedSize();
+
+ // views::View:
+ virtual gfx::Size GetPreferredSize() OVERRIDE;
Peter Kasting 2011/07/27 20:18:25 Nit: If you move the declaration, you should move
+
protected:
virtual void PaintMatch(gfx::Canvas* canvas,
const AutocompleteMatch& match,
@@ -100,7 +105,6 @@
void Elide(Runs* runs, int remaining_width) const;
// views::View:
- virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698