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