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

Unified Diff: ui/wm/public/tooltip_client.h

Issue 213833018: Aura tooltips do not move on mouse move in case of many neighboring views with the same label (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Write unit test for the case when a tooltip moves from one view to another with the same tooltip bu… Created 6 years, 8 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
Index: ui/wm/public/tooltip_client.h
diff --git a/ui/wm/public/tooltip_client.h b/ui/wm/public/tooltip_client.h
index f592b21a18a5ef4072a3e139907419e4c4340366..a5cf44d5859b4846fef02de6f381f6bc187c40e7 100644
--- a/ui/wm/public/tooltip_client.h
+++ b/ui/wm/public/tooltip_client.h
@@ -17,7 +17,9 @@ class ScopedTooltipDisabler;
class AURA_EXPORT TooltipClient {
public:
// Informs the shell tooltip manager of change in tooltip for window |target|.
- virtual void UpdateTooltip(Window* target) = 0;
+ // The |force| parameter orders the manager to perform the update
+ // regardless of any internal conditions.
+ virtual void UpdateTooltip(Window* target, bool force) = 0;
// Sets the time after which the tooltip is hidden for Window |target|. If
// |timeout_in_ms| is <= 0, the tooltip is shown indefinitely.
« ui/views/widget/tooltip_manager_aura.cc ('K') | « ui/views/widget/tooltip_manager_aura.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698