| Index: chrome/browser/ui/views/native_constrained_window_win.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/native_constrained_window_win.cc (revision 153552)
|
| +++ chrome/browser/ui/views/native_constrained_window_win.cc (working copy)
|
| @@ -30,16 +30,13 @@
|
| }
|
|
|
| // Overridden from views::NativeWidgetWin:
|
| - virtual void OnFinalMessage(HWND window) OVERRIDE {
|
| + virtual void HandleDestroyed() OVERRIDE {
|
| delegate_->OnNativeConstrainedWindowDestroyed();
|
| - NativeWidgetWin::OnFinalMessage(window);
|
| + NativeWidgetWin::HandleDestroyed();
|
| }
|
| - virtual LRESULT OnMouseActivate(UINT message,
|
| - WPARAM w_param,
|
| - LPARAM l_param) OVERRIDE {
|
| - if (IsNonClientHitTestCode(static_cast<UINT>(LOWORD(l_param))))
|
| + virtual void HandleMouseActivate(int hittest_code) OVERRIDE {
|
| + if (IsNonClientHitTestCode(hittest_code))
|
| delegate_->OnNativeConstrainedWindowMouseActivate();
|
| - return NativeWidgetWin::OnMouseActivate(message, w_param, l_param);
|
| }
|
|
|
| NativeConstrainedWindowDelegate* delegate_;
|
|
|