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/tooltip_manager_win.h" | 5 #include "views/widget/tooltip_manager_win.h" |
6 | 6 |
7 #include <windowsx.h> | 7 #include <windowsx.h> |
8 #include <limits> | 8 #include <limits> |
9 | 9 |
10 #include "app/l10n_util.h" | |
11 #include "app/l10n_util_win.h" | 10 #include "app/l10n_util_win.h" |
12 #include "app/win_util.h" | 11 #include "app/win_util.h" |
13 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
14 #include "base/logging.h" | 13 #include "base/logging.h" |
15 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
16 #include "gfx/font.h" | 15 #include "gfx/font.h" |
17 #include "views/screen.h" | 16 #include "views/screen.h" |
18 #include "views/view.h" | 17 #include "views/view.h" |
19 #include "views/widget/root_view.h" | 18 #include "views/widget/root_view.h" |
20 #include "views/widget/widget.h" | 19 #include "views/widget/widget.h" |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
377 keyboard_tooltip_hwnd_ = NULL; | 376 keyboard_tooltip_hwnd_ = NULL; |
378 } | 377 } |
379 } | 378 } |
380 | 379 |
381 void TooltipManagerWin::DestroyKeyboardTooltipWindow(HWND window_to_destroy) { | 380 void TooltipManagerWin::DestroyKeyboardTooltipWindow(HWND window_to_destroy) { |
382 if (keyboard_tooltip_hwnd_ == window_to_destroy) | 381 if (keyboard_tooltip_hwnd_ == window_to_destroy) |
383 HideKeyboardTooltip(); | 382 HideKeyboardTooltip(); |
384 } | 383 } |
385 | 384 |
386 } // namespace views | 385 } // namespace views |
OLD | NEW |