summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 23:44:42 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 23:44:42 +0000
commit41a5ca123f45f471457485e87681c02a21a2f052 (patch)
tree9435a80c764561b4c3b5161a9f8c126c34a69205
parentc568308129a9ac780aa78383b55caed7a22b0fcf (diff)
downloadchromium_src-41a5ca123f45f471457485e87681c02a21a2f052.zip
chromium_src-41a5ca123f45f471457485e87681c02a21a2f052.tar.gz
chromium_src-41a5ca123f45f471457485e87681c02a21a2f052.tar.bz2
Actually handle WM_SETICON and provide a virtual base that CustomFrameWindow can override...
Review URL: http://codereview.chromium.org/7321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3383 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/views/hwnd_view_container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/views/hwnd_view_container.h b/chrome/views/hwnd_view_container.h
index 2f7a7f3..60171b6 100644
--- a/chrome/views/hwnd_view_container.h
+++ b/chrome/views/hwnd_view_container.h
@@ -228,6 +228,7 @@ class HWNDViewContainer : public ViewContainer,
MSG_WM_RBUTTONUP(OnRButtonUp)
MSG_WM_SETCURSOR(OnSetCursor)
MSG_WM_SETFOCUS(OnSetFocus)
+ MSG_WM_SETICON(OnSetIcon)
MSG_WM_SETTEXT(OnSetText)
MSG_WM_SIZE(OnSize)
MSG_WM_SYSCOMMAND(OnSysCommand)
@@ -425,6 +426,10 @@ class HWNDViewContainer : public ViewContainer,
virtual void OnSetFocus(HWND focused_window) {
SetMsgHandled(FALSE);
}
+ virtual LRESULT OnSetIcon(UINT size_type, HICON new_icon) {
+ SetMsgHandled(FALSE);
+ return 0;
+ }
virtual LRESULT OnSetText(const wchar_t* text) {
SetMsgHandled(FALSE);
return 0;