OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 5 #ifndef CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
6 #define CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 6 #define CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
| 9 #include <commctrl.h> |
| 10 |
9 #include <string> | 11 #include <string> |
10 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/task.h" |
11 | 14 |
12 class ChromeFont; | 15 class ChromeFont; |
13 | 16 |
14 namespace views { | 17 namespace views { |
15 | 18 |
16 class View; | 19 class View; |
17 class Widget; | 20 class Widget; |
18 | 21 |
19 // TooltipManager takes care of the wiring to support tooltips for Views. | 22 // TooltipManager takes care of the wiring to support tooltips for Views. |
20 // This class is intended to be used by Widgets. To use this, you must | 23 // This class is intended to be used by Widgets. To use this, you must |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // Used to register DestroyTooltipWindow function with PostDelayedTask | 159 // Used to register DestroyTooltipWindow function with PostDelayedTask |
157 // function. | 160 // function. |
158 ScopedRunnableMethodFactory<TooltipManager> keyboard_tooltip_factory_; | 161 ScopedRunnableMethodFactory<TooltipManager> keyboard_tooltip_factory_; |
159 | 162 |
160 DISALLOW_EVIL_CONSTRUCTORS(TooltipManager); | 163 DISALLOW_EVIL_CONSTRUCTORS(TooltipManager); |
161 }; | 164 }; |
162 | 165 |
163 } // namespace views | 166 } // namespace views |
164 | 167 |
165 #endif // CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ | 168 #endif // CHROME_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ |
OLD | NEW |