Index: ui/aura/client/tooltip_client.h |
diff --git a/ui/aura/client/tooltip_client.h b/ui/aura/client/tooltip_client.h |
index 416547ba2010436296c315a6f48afa72ab9a625a..43966f68a3a6643a8161f4c9a5c5386977286001 100644 |
--- a/ui/aura/client/tooltip_client.h |
+++ b/ui/aura/client/tooltip_client.h |
@@ -18,6 +18,10 @@ class AURA_EXPORT TooltipClient { |
// Informs the shell tooltip manager of change in tooltip for window |target|. |
virtual void UpdateTooltip(Window* target) = 0; |
+ // Sets the time after which the tooltip is hidden for Window |target|. If |
+ // |timeout_in_ms| is <= 0, the tooltip is shown indefinitely. |
+ virtual void SetTooltipShownTimeout(Window* target, int timeout_in_ms) = 0; |
+ |
// Enables/Disables tooltips. |
virtual void SetTooltipsEnabled(bool enable) = 0; |
}; |