| Index: chrome/browser/ui/views/native_constrained_window_win.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/native_constrained_window_win.cc (revision 153679)
|
| +++ chrome/browser/ui/views/native_constrained_window_win.cc (working copy)
|
| @@ -34,12 +34,15 @@
|
| delegate_->OnNativeConstrainedWindowDestroyed();
|
| NativeWidgetWin::OnFinalMessage(window);
|
| }
|
| - virtual LRESULT OnMouseActivate(UINT message,
|
| - WPARAM w_param,
|
| - LPARAM l_param) OVERRIDE {
|
| - if (IsNonClientHitTestCode(static_cast<UINT>(LOWORD(l_param))))
|
| + virtual bool PreHandleMSG(UINT message,
|
| + WPARAM w_param,
|
| + LPARAM l_param,
|
| + LRESULT* result) OVERRIDE {
|
| + if (message == WM_MOUSEACTIVATE &&
|
| + IsNonClientHitTestCode(static_cast<UINT>(LOWORD(l_param)))) {
|
| delegate_->OnNativeConstrainedWindowMouseActivate();
|
| - return NativeWidgetWin::OnMouseActivate(message, w_param, l_param);
|
| + }
|
| + return false;
|
| }
|
|
|
| NativeConstrainedWindowDelegate* delegate_;
|
|
|