OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_VIEWS_WIDGET_WIN_H_ | 5 #ifndef CHROME_VIEWS_WIDGET_WIN_H_ |
6 #define CHROME_VIEWS_WIDGET_WIN_H_ | 6 #define CHROME_VIEWS_WIDGET_WIN_H_ |
7 | 7 |
8 #include <atlbase.h> | 8 #include <atlbase.h> |
9 #include <atlcrack.h> | 9 #include <atlcrack.h> |
10 | 10 |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 virtual void OnMButtonDown(UINT flags, const CPoint& point); | 401 virtual void OnMButtonDown(UINT flags, const CPoint& point); |
402 virtual void OnMButtonUp(UINT flags, const CPoint& point); | 402 virtual void OnMButtonUp(UINT flags, const CPoint& point); |
403 virtual LRESULT OnMouseActivate(HWND window, UINT hittest_code, UINT message); | 403 virtual LRESULT OnMouseActivate(HWND window, UINT hittest_code, UINT message); |
404 virtual void OnMouseMove(UINT flags, const CPoint& point); | 404 virtual void OnMouseMove(UINT flags, const CPoint& point); |
405 virtual LRESULT OnMouseLeave(UINT message, WPARAM w_param, LPARAM l_param); | 405 virtual LRESULT OnMouseLeave(UINT message, WPARAM w_param, LPARAM l_param); |
406 virtual void OnMove(const CPoint& point) { SetMsgHandled(FALSE); } | 406 virtual void OnMove(const CPoint& point) { SetMsgHandled(FALSE); } |
407 virtual void OnMoving(UINT param, const LPRECT new_bounds) { } | 407 virtual void OnMoving(UINT param, const LPRECT new_bounds) { } |
408 virtual LRESULT OnMouseWheel(UINT flags, short distance, const CPoint& point); | 408 virtual LRESULT OnMouseWheel(UINT flags, short distance, const CPoint& point); |
409 virtual LRESULT OnMouseRange(UINT msg, WPARAM w_param, LPARAM l_param); | 409 virtual LRESULT OnMouseRange(UINT msg, WPARAM w_param, LPARAM l_param); |
410 virtual LRESULT OnNCActivate(BOOL active) { SetMsgHandled(FALSE); return 0; } | 410 virtual LRESULT OnNCActivate(BOOL active) { SetMsgHandled(FALSE); return 0; } |
411 virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param) { SetMsgHandled(FAL
SE); return 0; } | 411 virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param) { |
412 virtual LRESULT OnNCHitTest(const CPoint& pt) { SetMsgHandled(FALSE); return 0
; } | 412 SetMsgHandled(FALSE); |
| 413 return 0; |
| 414 } |
| 415 virtual LRESULT OnNCHitTest(const CPoint& pt) { |
| 416 SetMsgHandled(FALSE); |
| 417 return 0; |
| 418 } |
413 virtual void OnNCLButtonDblClk(UINT flags, const CPoint& point); | 419 virtual void OnNCLButtonDblClk(UINT flags, const CPoint& point); |
414 virtual void OnNCLButtonDown(UINT flags, const CPoint& point); | 420 virtual void OnNCLButtonDown(UINT flags, const CPoint& point); |
415 virtual void OnNCLButtonUp(UINT flags, const CPoint& point); | 421 virtual void OnNCLButtonUp(UINT flags, const CPoint& point); |
416 virtual void OnNCMButtonDblClk(UINT flags, const CPoint& point); | 422 virtual void OnNCMButtonDblClk(UINT flags, const CPoint& point); |
417 virtual void OnNCMButtonDown(UINT flags, const CPoint& point); | 423 virtual void OnNCMButtonDown(UINT flags, const CPoint& point); |
418 virtual void OnNCMButtonUp(UINT flags, const CPoint& point); | 424 virtual void OnNCMButtonUp(UINT flags, const CPoint& point); |
419 virtual LRESULT OnNCMouseLeave(UINT uMsg, WPARAM w_param, LPARAM l_param); | 425 virtual LRESULT OnNCMouseLeave(UINT uMsg, WPARAM w_param, LPARAM l_param); |
420 virtual LRESULT OnNCMouseMove(UINT flags, const CPoint& point); | 426 virtual LRESULT OnNCMouseMove(UINT flags, const CPoint& point); |
421 virtual void OnNCPaint(HRGN rgn) { SetMsgHandled(FALSE); } | 427 virtual void OnNCPaint(HRGN rgn) { SetMsgHandled(FALSE); } |
422 virtual void OnNCRButtonDblClk(UINT flags, const CPoint& point); | 428 virtual void OnNCRButtonDblClk(UINT flags, const CPoint& point); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 CComPtr<IAccessible> accessibility_root_; | 623 CComPtr<IAccessible> accessibility_root_; |
618 | 624 |
619 // Our hwnd. | 625 // Our hwnd. |
620 HWND hwnd_; | 626 HWND hwnd_; |
621 }; | 627 }; |
622 | 628 |
623 } // namespace views | 629 } // namespace views |
624 | 630 |
625 #endif // #ifndef CHROME_VIEWS_WIDGET_WIN_H_ | 631 #endif // #ifndef CHROME_VIEWS_WIDGET_WIN_H_ |
626 | 632 |
OLD | NEW |