summaryrefslogtreecommitdiffstats
path: root/chrome/views/hwnd_view_container.h
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 00:19:55 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 00:19:55 +0000
commit1b3deed79fc638d3755ba5159108712238d8beb7 (patch)
tree285572fcf3283acfb4483f22e7433c3c0c9b0be1 /chrome/views/hwnd_view_container.h
parent173cc090e06c99e15f31fe21d291cd93ba477527 (diff)
downloadchromium_src-1b3deed79fc638d3755ba5159108712238d8beb7.zip
chromium_src-1b3deed79fc638d3755ba5159108712238d8beb7.tar.gz
chromium_src-1b3deed79fc638d3755ba5159108712238d8beb7.tar.bz2
Make theme change notifications for the renderer originate from the RenderWidgetHostHWND, not the frame.
B=1326392 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/hwnd_view_container.h')
-rw-r--r--chrome/views/hwnd_view_container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/views/hwnd_view_container.h b/chrome/views/hwnd_view_container.h
index 3c792d1..5a13c16 100644
--- a/chrome/views/hwnd_view_container.h
+++ b/chrome/views/hwnd_view_container.h
@@ -233,6 +233,7 @@ class HWNDViewContainer : public ViewContainer,
MSG_WM_SETFOCUS(OnSetFocus)
MSG_WM_SIZE(OnSize)
MSG_WM_SYSCOMMAND(OnSysCommand)
+ MSG_WM_THEMECHANGED(OnThemeChanged)
MSG_WM_VSCROLL(OnVScroll)
MSG_WM_WINDOWPOSCHANGED(OnWindowPosChanged)
END_MSG_MAP()
@@ -413,6 +414,7 @@ class HWNDViewContainer : public ViewContainer,
virtual LRESULT OnSettingChange(UINT msg, WPARAM w_param, LPARAM l_param);
virtual void OnSize(UINT param, const CSize& size);
virtual void OnSysCommand(UINT notification_code, CPoint click) { }
+ virtual void OnThemeChanged();
virtual void OnVScroll(int scroll_type, short position, HWND scrollbar) {
SetMsgHandled(FALSE);
}