OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "views/views_export.h" | 13 #include "ui/views/views_export.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class Font; | 16 class Font; |
17 } // namespace gfx | 17 } // namespace gfx |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 | 20 |
21 class View; | 21 class View; |
22 | 22 |
23 // TooltipManager takes care of the wiring to support tooltips for Views. You | 23 // TooltipManager takes care of the wiring to support tooltips for Views. You |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 static void TrimTooltipToFit(string16* text, | 59 static void TrimTooltipToFit(string16* text, |
60 int* max_width, | 60 int* max_width, |
61 int* line_count, | 61 int* line_count, |
62 int x, | 62 int x, |
63 int y); | 63 int y); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace views | 66 } // namespace views |
67 | 67 |
68 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 68 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
OLD | NEW |