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

Unified Diff: ui/views/corewm/tooltip_win.h

Issue 225403022: Fixed positioning of tooltips in multi monitor setups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unhardcoded cursor size hence simplifying DIP to screen conversions 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/corewm/tooltip_win.h
diff --git a/ui/views/corewm/tooltip_win.h b/ui/views/corewm/tooltip_win.h
index b031a3204ebb65d05bcd810375362f4b71f2e694..1d20bb187e16b524dfaad23692f8d8175fa66543 100644
--- a/ui/views/corewm/tooltip_win.h
+++ b/ui/views/corewm/tooltip_win.h
@@ -9,6 +9,7 @@
#include "base/compiler_specific.h"
#include "base/strings/string16.h"
#include "ui/gfx/point.h"
+#include "ui/views/corewm/cursor_height_provider_win.h"
#include "ui/views/corewm/tooltip.h"
#include <windows.h>
@@ -61,6 +62,8 @@ class VIEWS_EXPORT TooltipWin : public Tooltip {
// cache it.
gfx::Point location_;
+ CursorHeightProvider cursor_height_provider_;
+
DISALLOW_COPY_AND_ASSIGN(TooltipWin);
};

Powered by Google App Engine
This is Rietveld 408576698