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

Unified Diff: ui/views/widget/tooltip_manager.h

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix some new gfx::Screen additions Created 8 years, 2 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.h
diff --git a/ui/views/widget/tooltip_manager.h b/ui/views/widget/tooltip_manager.h
index dd148773798e68e5afd9d46662d91470af627d46..5536d6d87d2d78e8fbd67d08b9dd069426eb0fd5 100644
--- a/ui/views/widget/tooltip_manager.h
+++ b/ui/views/widget/tooltip_manager.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
+#include "ui/gfx/native_widget_types.h"
#include "ui/views/views_export.h"
namespace gfx {
@@ -33,7 +34,7 @@ class VIEWS_EXPORT TooltipManager {
// Returns the maximum width of the tooltip. |x| and |y| give the location
// the tooltip is to be displayed on in screen coordinates.
oshima 2012/10/10 17:58:23 update the comment
scottmg 2012/10/10 19:04:47 Done.
- static int GetMaxWidth(int x, int y);
+ static int GetMaxWidth(int x, int y, gfx::NativeView context);
TooltipManager() {}
virtual ~TooltipManager() {}
@@ -59,7 +60,8 @@ class VIEWS_EXPORT TooltipManager {
int* max_width,
int* line_count,
int x,
- int y);
+ int y,
+ gfx::NativeView context);
};
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698