OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "views/widget/aero_tooltip_manager.h" | 5 #include "views/widget/aero_tooltip_manager.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <commctrl.h> | 8 #include <commctrl.h> |
9 #include <shlobj.h> | 9 #include <shlobj.h> |
10 | 10 |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "gfx/point.h" | |
13 #include "ui/base/l10n/l10n_util_win.h" | 12 #include "ui/base/l10n/l10n_util_win.h" |
| 13 #include "ui/gfx/point.h" |
14 | 14 |
15 namespace views { | 15 namespace views { |
16 | 16 |
17 /////////////////////////////////////////////////////////////////////////////// | 17 /////////////////////////////////////////////////////////////////////////////// |
18 // AeroTooltipManager, public: | 18 // AeroTooltipManager, public: |
19 | 19 |
20 AeroTooltipManager::AeroTooltipManager(Widget* widget) | 20 AeroTooltipManager::AeroTooltipManager(Widget* widget) |
21 : TooltipManagerWin(widget), | 21 : TooltipManagerWin(widget), |
22 initial_delay_(0) { | 22 initial_delay_(0) { |
23 } | 23 } |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void AeroTooltipManager::InitialTimer::Disown() { | 124 void AeroTooltipManager::InitialTimer::Disown() { |
125 manager_ = NULL; | 125 manager_ = NULL; |
126 } | 126 } |
127 | 127 |
128 void AeroTooltipManager::InitialTimer::Execute() { | 128 void AeroTooltipManager::InitialTimer::Execute() { |
129 if (manager_) | 129 if (manager_) |
130 manager_->OnTimer(); | 130 manager_->OnTimer(); |
131 } | 131 } |
132 | 132 |
133 } // namespace views | 133 } // namespace views |
OLD | NEW |