Index: ui/views/widget/tooltip_manager_win.cc |
diff --git a/ui/views/widget/tooltip_manager_win.cc b/ui/views/widget/tooltip_manager_win.cc |
index f03d8589fda3e9d76d0bc691a4abc5b6f06ae86f..c6a41a4a4c19727445e384d4e919cfeca21d771e 100644 |
--- a/ui/views/widget/tooltip_manager_win.cc |
+++ b/ui/views/widget/tooltip_manager_win.cc |
@@ -90,7 +90,7 @@ bool TooltipManagerWin::Init() { |
DCHECK(!tooltip_hwnd_); |
// Create the tooltip control. |
tooltip_hwnd_ = CreateWindowEx( |
- WS_EX_TRANSPARENT | l10n_util::GetExtendedTooltipStyles(), |
+ WS_EX_TRANSPARENT | WS_EX_TOPMOST | l10n_util::GetExtendedTooltipStyles(), |
TOOLTIPS_CLASS, NULL, TTS_NOPREFIX, 0, 0, 0, 0, |
GetParent(), NULL, NULL, NULL); |
if (!tooltip_hwnd_) |
@@ -333,7 +333,7 @@ void TooltipManagerWin::ShowKeyboardTooltip(View* focused_view) { |
gfx::Point screen_point; |
focused_view->ConvertPointToScreen(focused_view, &screen_point); |
keyboard_tooltip_hwnd_ = CreateWindowEx( |
- WS_EX_TRANSPARENT | l10n_util::GetExtendedTooltipStyles(), |
+ WS_EX_TRANSPARENT | WS_EX_TOPMOST | l10n_util::GetExtendedTooltipStyles(), |
TOOLTIPS_CLASS, NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL); |
if (!keyboard_tooltip_hwnd_) |
return; |