summaryrefslogtreecommitdiffstats
path: root/base/window_impl.h
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:11:11 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-18 21:11:11 +0000
commit1a89ea1ad2d890cf196eee4c24a8dec9fa573961 (patch)
treec2caf29306d0b899a6b5b7785718843e82da828f /base/window_impl.h
parent1b8ca7112df30a566c911d77c84d145ba83fb1fa (diff)
downloadchromium_src-1a89ea1ad2d890cf196eee4c24a8dec9fa573961.zip
chromium_src-1a89ea1ad2d890cf196eee4c24a8dec9fa573961.tar.gz
chromium_src-1a89ea1ad2d890cf196eee4c24a8dec9fa573961.tar.bz2
Make NativeControl inherit from base::WindowImpl instead of CWindowImpl to reduce a dependency on ATL.
BUG=5027 TEST=none Review URL: http://codereview.chromium.org/169015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/window_impl.h')
-rw-r--r--base/window_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/window_impl.h b/base/window_impl.h
index 2941c3d9..ff8dd15 100644
--- a/base/window_impl.h
+++ b/base/window_impl.h
@@ -50,6 +50,9 @@ class WindowImpl : public MessageMapInterface {
// Retrieves the default window icon to use for windows if none is specified.
virtual HICON GetDefaultWindowIcon() const;
+ // Override this to be notified of the last message.
+ virtual void OnFinalMessage(HWND window) {}
+
// Returns the HWND associated with this Window.
HWND hwnd() const { return hwnd_; }