Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: chrome/views/widget_win.h

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/views/tooltip_manager.cc ('k') | chrome/views/window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/views/tooltip_manager.cc ('k') | chrome/views/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698