Chromium Code Reviews| 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; |