summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 19:27:29 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-07 19:27:29 +0000
commit434bdd553e25fee38d8998857b82a33e5c6631b2 (patch)
tree416fdd298f45e4bb32f77cfecfe845b762f51d6a /content
parentf0f2e58467ef4e44211461e439e2139450a976d3 (diff)
downloadchromium_src-434bdd553e25fee38d8998857b82a33e5c6631b2.zip
chromium_src-434bdd553e25fee38d8998857b82a33e5c6631b2.tar.gz
chromium_src-434bdd553e25fee38d8998857b82a33e5c6631b2.tar.bz2
Revert 116551 - Fix bug 62037: Task manager tooltips appear behind task manager if 'Always on Top' is checked.
The fix is to ensure the tooltip window is created with WS_EX_TOPMOST style. BUG=62037 TEST=Manual test by launching task manager or panel and verifying tooltips appear in front. Review URL: http://codereview.chromium.org/9030036 TBR=jianli@chromium.org Review URL: https://chromiumcodereview.appspot.com/9349026 git-svn-id: svn://svn.chromium.org/chrome/branches/1025/src@120806 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_view_win.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index b6b7477..90d2f76 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -2301,8 +2301,7 @@ void RenderWidgetHostViewWin::EnsureTooltip() {
if (!::IsWindow(tooltip_hwnd_)) {
message = TTM_ADDTOOL;
tooltip_hwnd_ = CreateWindowEx(
- WS_EX_TRANSPARENT | WS_EX_TOPMOST |
- l10n_util::GetExtendedTooltipStyles(),
+ WS_EX_TRANSPARENT | l10n_util::GetExtendedTooltipStyles(),
TOOLTIPS_CLASS, NULL, TTS_NOPREFIX, 0, 0, 0, 0, m_hWnd, NULL,
NULL, NULL);
if (!tooltip_hwnd_) {