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

Unified Diff: views/widget/widget_win.h

Issue 169015: Make NativeControl inherit from base::WindowImpl instead of CWindowImpl to re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/native_control.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_win.h
===================================================================
--- views/widget/widget_win.h (revision 23577)
+++ views/widget/widget_win.h (working copy)
@@ -303,6 +303,7 @@
protected:
// Overridden from WindowImpl:
virtual HICON GetDefaultWindowIcon() const;
+ virtual void OnFinalMessage(HWND window);
virtual LRESULT OnWndProc(UINT message, WPARAM w_param, LPARAM l_param);
// Message Handlers
@@ -374,7 +375,10 @@
virtual void OnMove(const CPoint& point) { SetMsgHandled(FALSE); }
virtual void OnMoving(UINT param, const LPRECT new_bounds) { }
virtual LRESULT OnMouseRange(UINT msg, WPARAM w_param, LPARAM l_param);
- virtual LRESULT OnNCActivate(BOOL active) { SetMsgHandled(FALSE); return 0; }
+ virtual LRESULT OnNCActivate(BOOL active) {
+ SetMsgHandled(FALSE);
+ return 0;
+ }
virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param) {
SetMsgHandled(FALSE);
return 0;
@@ -448,10 +452,6 @@
SetMsgHandled(FALSE);
}
- // deletes this window as it is destroyed, override to provide different
- // behavior.
- virtual void OnFinalMessage(HWND window);
-
// Start tracking all mouse events so that this window gets sent mouse leave
// messages too. |is_nonclient| is true when we should track WM_NCMOUSELEAVE
// messages instead of WM_MOUSELEAVE ones.
« no previous file with comments | « views/controls/native_control.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698