Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: ui/aura/client/tooltip_client.h

Issue 15754002: ash: Add functionality to specify how long a tooltip is shown for a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/corewm/tooltip_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | ui/views/corewm/tooltip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698