diff options
Diffstat (limited to 'ui/wm/public/tooltip_client.h')
-rw-r--r-- | ui/wm/public/tooltip_client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/wm/public/tooltip_client.h b/ui/wm/public/tooltip_client.h index f2b97cd..f58a63e 100644 --- a/ui/wm/public/tooltip_client.h +++ b/ui/wm/public/tooltip_client.h @@ -8,6 +8,10 @@ #include "ui/aura/aura_export.h" #include "ui/gfx/font.h" +namespace gfx { +class Point; +} + namespace aura { class Window; namespace client { @@ -16,6 +20,10 @@ class ScopedTooltipDisabler; class AURA_EXPORT TooltipClient { public: + // Returns the max width of the tooltip when shown at the specified location. + virtual int GetMaxWidth(const gfx::Point& point, + aura::Window* context) const = 0; + // Informs the shell tooltip manager of change in tooltip for window |target|. virtual void UpdateTooltip(Window* target) = 0; |