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 VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
6 #define VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <windows.h> | 9 #include <windows.h> |
10 #include <commctrl.h> | 10 #include <commctrl.h> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
17 #include "ui/gfx/point.h" | 17 #include "ui/gfx/point.h" |
18 #include "views/widget/tooltip_manager.h" | 18 #include "ui/views/widget/tooltip_manager.h" |
19 | 19 |
20 namespace gfx { | 20 namespace gfx { |
21 class Point; | 21 class Point; |
22 } | 22 } |
23 | 23 |
24 namespace views { | 24 namespace views { |
25 | 25 |
26 class View; | 26 class View; |
27 class Widget; | 27 class Widget; |
28 | 28 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 // Used to register DestroyTooltipWindow function with PostDelayedTask | 144 // Used to register DestroyTooltipWindow function with PostDelayedTask |
145 // function. | 145 // function. |
146 base::WeakPtrFactory<TooltipManagerWin> keyboard_tooltip_factory_; | 146 base::WeakPtrFactory<TooltipManagerWin> keyboard_tooltip_factory_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin); | 148 DISALLOW_COPY_AND_ASSIGN(TooltipManagerWin); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace views | 151 } // namespace views |
152 | 152 |
153 #endif // VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ | 153 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_WIN_H_ |
OLD | NEW |