summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 17:41:49 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-15 17:41:49 +0000
commit013c1ae64c02d4b08fed1133a8cb630ab4541838 (patch)
tree06db30e7ac548e599c2390e2116cf1cf4ae934e8 /chrome/views
parent4825062601489323b02c6cbb9c57ecc8c953ec53 (diff)
downloadchromium_src-013c1ae64c02d4b08fed1133a8cb630ab4541838.zip
chromium_src-013c1ae64c02d4b08fed1133a8cb630ab4541838.tar.gz
chromium_src-013c1ae64c02d4b08fed1133a8cb630ab4541838.tar.bz2
Adds notification for window creation.
BUG=none TEST=none Review URL: http://codereview.chromium.org/73086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/window/window_win.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/views/window/window_win.cc b/chrome/views/window/window_win.cc
index 87fa43f..e046180c 100644
--- a/chrome/views/window/window_win.cc
+++ b/chrome/views/window/window_win.cc
@@ -401,6 +401,11 @@ void WindowWin::Init(HWND parent, const gfx::Rect& bounds) {
}
ResetWindowRegion(false);
+
+ NotificationService::current()->Notify(
+ NotificationType::WINDOW_CREATED,
+ Source<WindowWin>(this),
+ NotificationService::NoDetails());
}
void WindowWin::SizeWindowToDefault() {