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

Unified Diff: ui/views/widget/tooltip_manager_aura.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: Sanity fixups 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/views/widget/tooltip_manager_aura.h
diff --git a/ui/views/widget/tooltip_manager_aura.h b/ui/views/widget/tooltip_manager_aura.h
index e723299060b1b509fe3117393f7c88ec931fe02d..2ecbbda22f49f01b4a8cc4bc41428516127b280d 100644
--- a/ui/views/widget/tooltip_manager_aura.h
+++ b/ui/views/widget/tooltip_manager_aura.h
@@ -8,6 +8,7 @@
#include "base/compiler_specific.h"
#include "base/strings/string16.h"
#include "ui/gfx/point.h"
+#include "ui/gfx/rect.h"
sky 2014/04/23 20:08:46 Seems like you don't need any of the changes you h
Mikus 2014/04/24 08:39:56 True, but I need tooltip_unique_ (actually tooltip
#include "ui/views/widget/tooltip_manager.h"
namespace aura {
@@ -20,6 +21,7 @@ class FontList;
namespace views {
+class View;
class Widget;
// TooltipManager implementation for Aura.
@@ -53,6 +55,10 @@ class TooltipManagerAura : public TooltipManager {
Widget* widget_;
base::string16 tooltip_text_;
+ void* tooltip_unique_;
+
+ // Bounds of the view for which the last managed tooltip was displayed.
+ gfx::Rect origin_bounds_;
DISALLOW_COPY_AND_ASSIGN(TooltipManagerAura);
};

Powered by Google App Engine
This is Rietveld 408576698