| Index: ui/views/corewm/tooltip.h
|
| diff --git a/ui/views/corewm/tooltip.h b/ui/views/corewm/tooltip.h
|
| index 7fb15bc32ca3cb7e53517a95709342b609b0e30a..b8e6803a17234806284ce1265ee9b3616443ba96 100644
|
| --- a/ui/views/corewm/tooltip.h
|
| +++ b/ui/views/corewm/tooltip.h
|
| @@ -25,6 +25,10 @@ class VIEWS_EXPORT Tooltip {
|
| public:
|
| virtual ~Tooltip() {}
|
|
|
| + // Returns the max width of the tooltip when shown at the specified location.
|
| + virtual int GetMaxWidth(const gfx::Point& location,
|
| + aura::Window* context) const = 0;
|
| +
|
| // Updates the text on the tooltip and resizes to fit.
|
| virtual void SetText(aura::Window* window,
|
| const base::string16& tooltip_text,
|
|
|