| 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 VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ | 5 #ifndef VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ |
| 6 #define VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ | 6 #define VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 10 #include "base/task.h" | |
| 11 #include "views/widget/tooltip_manager_win.h" | 10 #include "views/widget/tooltip_manager_win.h" |
| 12 | 11 |
| 13 namespace views { | 12 namespace views { |
| 14 | 13 |
| 15 /////////////////////////////////////////////////////////////////////////////// | 14 /////////////////////////////////////////////////////////////////////////////// |
| 16 // AeroTooltipManager | 15 // AeroTooltipManager |
| 17 // | 16 // |
| 18 // Default Windows tooltips are broken when using our custom window frame | 17 // Default Windows tooltips are broken when using our custom window frame |
| 19 // - as soon as the tooltip receives a WM_MOUSEMOVE event, it starts spewing | 18 // - as soon as the tooltip receives a WM_MOUSEMOVE event, it starts spewing |
| 20 // NCHITTEST messages at its parent window (us). These messages have random | 19 // NCHITTEST messages at its parent window (us). These messages have random |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 52 |
| 54 AeroTooltipManager* manager_; | 53 AeroTooltipManager* manager_; |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 int initial_delay_; | 56 int initial_delay_; |
| 58 scoped_refptr<InitialTimer> initial_timer_; | 57 scoped_refptr<InitialTimer> initial_timer_; |
| 59 }; | 58 }; |
| 60 | 59 |
| 61 } // namespace views | 60 } // namespace views |
| 62 | 61 |
| 63 #endif // #ifndef VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ | 62 #endif // VIEWS_WIDGET_AERO_TOOLTIP_MANAGER_H_ |
| OLD | NEW |