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 #include "chrome/views/widget/aero_tooltip_manager.h" |
| 6 |
5 #include <windows.h> | 7 #include <windows.h> |
6 #include <atlbase.h> | 8 #include <atlbase.h> |
7 #include <atlapp.h> // for GET_X/Y_LPARAM | 9 #include <atlapp.h> // for GET_X/Y_LPARAM |
8 #include <commctrl.h> | 10 #include <commctrl.h> |
9 #include <shlobj.h> | 11 #include <shlobj.h> |
10 | 12 |
11 #include "chrome/views/widget/aero_tooltip_manager.h" | 13 #include "app/l10n_util_win.h" |
12 | |
13 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
14 #include "chrome/common/l10n_util_win.h" | |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 /////////////////////////////////////////////////////////////////////////////// | 18 /////////////////////////////////////////////////////////////////////////////// |
19 // AeroTooltipManager, public: | 19 // AeroTooltipManager, public: |
20 | 20 |
21 AeroTooltipManager::AeroTooltipManager(Widget* widget, HWND parent) | 21 AeroTooltipManager::AeroTooltipManager(Widget* widget, HWND parent) |
22 : TooltipManager(widget, parent), | 22 : TooltipManager(widget, parent), |
23 initial_delay_(0) { | 23 initial_delay_(0) { |
24 } | 24 } |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void AeroTooltipManager::InitialTimer::Disown() { | 119 void AeroTooltipManager::InitialTimer::Disown() { |
120 manager_ = NULL; | 120 manager_ = NULL; |
121 } | 121 } |
122 | 122 |
123 void AeroTooltipManager::InitialTimer::Execute() { | 123 void AeroTooltipManager::InitialTimer::Execute() { |
124 if (manager_) | 124 if (manager_) |
125 manager_->OnTimer(); | 125 manager_->OnTimer(); |
126 } | 126 } |
127 | 127 |
128 } // namespace views | 128 } // namespace views |
OLD | NEW |