| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "ui/views/widget/aero_tooltip_manager.h" | 5 #include "ui/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/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 13 #include "ui/base/l10n/l10n_util_win.h" | 13 #include "ui/base/l10n/l10n_util_win.h" |
| 14 #include "ui/base/win/dpi.h" |
| 14 #include "ui/base/win/hwnd_util.h" | 15 #include "ui/base/win/hwnd_util.h" |
| 15 #include "ui/base/win/dpi.h" | |
| 16 #include "ui/gfx/point.h" | 16 #include "ui/gfx/point.h" |
| 17 | 17 |
| 18 namespace views { | 18 namespace views { |
| 19 | 19 |
| 20 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
| 21 // AeroTooltipManager, public: | 21 // AeroTooltipManager, public: |
| 22 | 22 |
| 23 AeroTooltipManager::AeroTooltipManager(Widget* widget) | 23 AeroTooltipManager::AeroTooltipManager(Widget* widget) |
| 24 : TooltipManagerWin(widget), | 24 : TooltipManagerWin(widget), |
| 25 initial_delay_(0) { | 25 initial_delay_(0) { |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 void AeroTooltipManager::InitialTimer::Disown() { | 107 void AeroTooltipManager::InitialTimer::Disown() { |
| 108 manager_ = NULL; | 108 manager_ = NULL; |
| 109 } | 109 } |
| 110 | 110 |
| 111 void AeroTooltipManager::InitialTimer::Execute() { | 111 void AeroTooltipManager::InitialTimer::Execute() { |
| 112 if (manager_) | 112 if (manager_) |
| 113 manager_->OnTimer(); | 113 manager_->OnTimer(); |
| 114 } | 114 } |
| 115 | 115 |
| 116 } // namespace views | 116 } // namespace views |
| OLD | NEW |