summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-17 19:42:30 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-17 19:42:30 +0000
commit8724e921c34ebed8e5d637e83ab6fcf290409b9e (patch)
treefa86730c770df7c0adf30cd9fdb94b5548c2a81e /views/window
parentea5de22fd21e7b6e8b1532977f779614acad4169 (diff)
downloadchromium_src-8724e921c34ebed8e5d637e83ab6fcf290409b9e.zip
chromium_src-8724e921c34ebed8e5d637e83ab6fcf290409b9e.tar.gz
chromium_src-8724e921c34ebed8e5d637e83ab6fcf290409b9e.tar.bz2
Fixes 82927 by rolling back part of a change I made this morning. We can't hide the window during WM_NCLBUTTONDOWN after all.
BUG=82927 TEST=none TBR=sky Review URL: http://codereview.chromium.org/7017021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window_win.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index fd655a6..e73c144 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -515,6 +515,11 @@ LRESULT WindowWin::OnMouseRange(UINT message, WPARAM w_param, LPARAM l_param) {
SetMouseCapture();
}
+ /*
+ TODO(beng): This fixes some situations where the windows-classic appearance
+ non-client area is rendered over our custom frame, however it
+ causes mouse-releases to the non-client area to be eaten, so it
+ can't be enabled.
if (message == WM_NCLBUTTONDOWN) {
// WindowWin::OnNCLButtonDown set the message as unhandled. This normally
// means WidgetWin::ProcessWindowMessage will pass it to
@@ -526,6 +531,7 @@ LRESULT WindowWin::OnMouseRange(UINT message, WPARAM w_param, LPARAM l_param) {
DefWindowProc(GetNativeView(), WM_NCLBUTTONDOWN, w_param, l_param);
SetMsgHandled(TRUE);
}
+ */
WidgetWin::OnMouseRange(message, w_param, l_param);
return 0;