| Index: chrome/browser/ui/views/autocomplete/autocomplete_result_view.h
|
| ===================================================================
|
| --- chrome/browser/ui/views/autocomplete/autocomplete_result_view.h (revision 95169)
|
| +++ chrome/browser/ui/views/autocomplete/autocomplete_result_view.h (working copy)
|
| @@ -6,6 +6,8 @@
|
| #define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_RESULT_VIEW_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| +
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/gfx/font.h"
|
| @@ -47,6 +49,12 @@
|
| // model has changed.
|
| void SetMatch(const AutocompleteMatch& match);
|
|
|
| + // Returns the size necessary to show just the icon and an ellipsis.
|
| + gfx::Size GetCollapsedSize();
|
| +
|
| + // views::View:
|
| + virtual gfx::Size GetPreferredSize() OVERRIDE;
|
| +
|
| protected:
|
| virtual void PaintMatch(gfx::Canvas* canvas,
|
| const AutocompleteMatch& match,
|
| @@ -100,7 +108,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;
|
|
|
|
|