| 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 "views/widget/tooltip_manager.h" | 5 #include "views/widget/tooltip_manager.h" |
| 6 | 6 |
| 7 #include <windowsx.h> |
| 7 #include <limits> | 8 #include <limits> |
| 8 | 9 |
| 9 #include "app/gfx/text_elider.h" | 10 #include "app/gfx/text_elider.h" |
| 10 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
| 11 #include "app/l10n_util_win.h" | 12 #include "app/l10n_util_win.h" |
| 12 #include "app/win_util.h" | 13 #include "app/win_util.h" |
| 13 #include "base/logging.h" | 14 #include "base/logging.h" |
| 14 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 15 #include "views/view.h" | 16 #include "views/view.h" |
| 16 #include "views/widget/root_view.h" | 17 #include "views/widget/root_view.h" |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 keyboard_tooltip_hwnd_ = NULL; | 439 keyboard_tooltip_hwnd_ = NULL; |
| 439 } | 440 } |
| 440 } | 441 } |
| 441 | 442 |
| 442 void TooltipManager::DestroyKeyboardTooltipWindow(HWND window_to_destroy) { | 443 void TooltipManager::DestroyKeyboardTooltipWindow(HWND window_to_destroy) { |
| 443 if (keyboard_tooltip_hwnd_ == window_to_destroy) | 444 if (keyboard_tooltip_hwnd_ == window_to_destroy) |
| 444 HideKeyboardTooltip(); | 445 HideKeyboardTooltip(); |
| 445 } | 446 } |
| 446 | 447 |
| 447 } // namespace views | 448 } // namespace views |
| OLD | NEW |