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

Side by Side Diff: views/window/window_win.h

Issue 6756043: Consolidate Widget Event code, other cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Additional code consolidation, move base defs, nix MakeMSG, TooltipManager cleanup, etc. Created 9 years, 8 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 VIEWS_WINDOW_WINDOW_WIN_H_ 5 #ifndef VIEWS_WINDOW_WINDOW_WIN_H_
6 #define VIEWS_WINDOW_WINDOW_WIN_H_ 6 #define VIEWS_WINDOW_WINDOW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "views/widget/widget_win.h" 9 #include "views/widget/widget_win.h"
10 #include "views/window/native_window.h" 10 #include "views/window/native_window.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 virtual void OnInitMenu(HMENU menu) OVERRIDE; 111 virtual void OnInitMenu(HMENU menu) OVERRIDE;
112 virtual LRESULT OnMouseActivate(UINT message, WPARAM w_param, LPARAM l_param) 112 virtual LRESULT OnMouseActivate(UINT message, WPARAM w_param, LPARAM l_param)
113 OVERRIDE; 113 OVERRIDE;
114 virtual LRESULT OnMouseRange(UINT message, 114 virtual LRESULT OnMouseRange(UINT message,
115 WPARAM w_param, 115 WPARAM w_param,
116 LPARAM l_param) OVERRIDE; 116 LPARAM l_param) OVERRIDE;
117 virtual LRESULT OnNCActivate(BOOL active) OVERRIDE; 117 virtual LRESULT OnNCActivate(BOOL active) OVERRIDE;
118 LRESULT OnNCCalcSize(BOOL mode, LPARAM l_param); // Don't override. 118 LRESULT OnNCCalcSize(BOOL mode, LPARAM l_param); // Don't override.
119 virtual LRESULT OnNCHitTest(const CPoint& point) OVERRIDE; 119 virtual LRESULT OnNCHitTest(const CPoint& point) OVERRIDE;
120 virtual void OnNCPaint(HRGN rgn) OVERRIDE; 120 virtual void OnNCPaint(HRGN rgn) OVERRIDE;
121 virtual LRESULT OnNCMouseRange(UINT message,
122 WPARAM w_param,
123 LPARAM l_param) OVERRIDE;
124 virtual LRESULT OnNCUAHDrawCaption(UINT msg, 121 virtual LRESULT OnNCUAHDrawCaption(UINT msg,
125 WPARAM w_param, 122 WPARAM w_param,
126 LPARAM l_param) OVERRIDE; 123 LPARAM l_param) OVERRIDE;
127 virtual LRESULT OnNCUAHDrawFrame(UINT msg, 124 virtual LRESULT OnNCUAHDrawFrame(UINT msg,
128 WPARAM w_param, 125 WPARAM w_param,
129 LPARAM l_param) OVERRIDE; 126 LPARAM l_param) OVERRIDE;
130 virtual LRESULT OnSetIcon(UINT size_type, HICON new_icon) OVERRIDE; 127 virtual LRESULT OnSetIcon(UINT size_type, HICON new_icon) OVERRIDE;
131 virtual LRESULT OnSetText(const wchar_t* text) OVERRIDE; 128 virtual LRESULT OnSetText(const wchar_t* text) OVERRIDE;
132 virtual void OnSettingChange(UINT flags, const wchar_t* section) OVERRIDE; 129 virtual void OnSettingChange(UINT flags, const wchar_t* section) OVERRIDE;
133 virtual void OnSize(UINT size_param, const CSize& new_size) OVERRIDE; 130 virtual void OnSize(UINT size_param, const CSize& new_size) OVERRIDE;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // The window styles before we modified them for the drag frame appearance. 282 // The window styles before we modified them for the drag frame appearance.
286 DWORD drag_frame_saved_window_style_; 283 DWORD drag_frame_saved_window_style_;
287 DWORD drag_frame_saved_window_ex_style_; 284 DWORD drag_frame_saved_window_ex_style_;
288 285
289 DISALLOW_COPY_AND_ASSIGN(WindowWin); 286 DISALLOW_COPY_AND_ASSIGN(WindowWin);
290 }; 287 };
291 288
292 } // namespace views 289 } // namespace views
293 290
294 #endif // VIEWS_WINDOW_WINDOW_WIN_H_ 291 #endif // VIEWS_WINDOW_WINDOW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698