| 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_VIEWS_H_ | 5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_VIEWS_H_ |
| 6 #define VIEWS_WIDGET_TOOLTIP_MANAGER_VIEWS_H_ | 6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| 11 #include "ui/views/widget/native_widget.h" |
| 12 #include "ui/views/widget/tooltip_manager.h" |
| 13 #include "ui/views/widget/widget_delegate.h" |
| 11 #include "views/controls/label.h" | 14 #include "views/controls/label.h" |
| 12 #include "views/widget/native_widget.h" | |
| 13 #include "views/widget/tooltip_manager.h" | |
| 14 #include "views/widget/widget_delegate.h" | |
| 15 #include "views/view.h" | 15 #include "views/view.h" |
| 16 | 16 |
| 17 #if defined(USE_X11) | 17 #if defined(USE_X11) |
| 18 typedef union _XEvent XEvent; | 18 typedef union _XEvent XEvent; |
| 19 #endif | 19 #endif |
| 20 | 20 |
| 21 namespace views { | 21 namespace views { |
| 22 | 22 |
| 23 class MouseEvent; | 23 class MouseEvent; |
| 24 class Widget; | 24 class Widget; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 Label tooltip_label_; | 70 Label tooltip_label_; |
| 71 | 71 |
| 72 gfx::Point curr_mouse_pos_; | 72 gfx::Point curr_mouse_pos_; |
| 73 base::RepeatingTimer<TooltipManagerViews> tooltip_timer_; | 73 base::RepeatingTimer<TooltipManagerViews> tooltip_timer_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(TooltipManagerViews); | 75 DISALLOW_COPY_AND_ASSIGN(TooltipManagerViews); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace views | 78 } // namespace views |
| 79 | 79 |
| 80 #endif // VIEWS_WIDGET_TOOLTIP_MANAGER_VIEWS_H_ | 80 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_VIEWS_H_ |
| OLD | NEW |