| Index: ui/views/corewm/tooltip_controller.h
|
| diff --git a/ui/views/corewm/tooltip_controller.h b/ui/views/corewm/tooltip_controller.h
|
| index 9815df1817a46d4f76cf17c459310b0502a34ead..0dff66b14b382b0ed87c32ed4673dfd9acff6e1d 100644
|
| --- a/ui/views/corewm/tooltip_controller.h
|
| +++ b/ui/views/corewm/tooltip_controller.h
|
| @@ -38,7 +38,8 @@ class VIEWS_EXPORT TooltipController : public aura::client::TooltipClient,
|
| virtual ~TooltipController();
|
|
|
| // Overridden from aura::client::TooltipClient.
|
| - virtual void UpdateTooltip(aura::Window* target) OVERRIDE;
|
| + virtual void UpdateTooltip(aura::Window* target,
|
| + bool force) OVERRIDE;
|
| virtual void SetTooltipShownTimeout(aura::Window* target,
|
| int timeout_in_ms) OVERRIDE;
|
| virtual void SetTooltipsEnabled(bool enable) OVERRIDE;
|
| @@ -61,8 +62,9 @@ class VIEWS_EXPORT TooltipController : public aura::client::TooltipClient,
|
| void TooltipShownTimerFired();
|
|
|
| // Updates the tooltip if required (if there is any change in the tooltip
|
| - // text or the aura::Window.
|
| - void UpdateIfRequired();
|
| + // text or the aura::Window). If |force| is true the tooltip will be updated
|
| + // regardless of these conditions.
|
| + void UpdateIfRequired(bool force);
|
|
|
| // Only used in tests.
|
| bool IsTooltipVisible();
|
|
|