diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 21:15:48 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-16 21:15:48 +0000 |
commit | 32a66aed0e57642c8f0da0a4a34383bbc9250a32 (patch) | |
tree | 68d9c7919f9d148cfa8a2537f734143db7e6e94f /chrome/common | |
parent | f8bddcfb577500d541351efa8986cc89d8859d02 (diff) | |
download | chromium_src-32a66aed0e57642c8f0da0a4a34383bbc9250a32.zip chromium_src-32a66aed0e57642c8f0da0a4a34383bbc9250a32.tar.gz chromium_src-32a66aed0e57642c8f0da0a4a34383bbc9250a32.tar.bz2 |
window.cc should not include browser_list.h ... dependent (non-browser) windows are closed when they receive a notification rather than by being called directly from BrowserList. Also browser_list.cc should not include window.h, required for porting.
TEST=Open browser. Open options dialog box. Close browser. Options dialog should close too.
Review URL: http://codereview.chromium.org/18328
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/notification_types.h b/chrome/common/notification_types.h index c2a0c09..e6e2e2e 100644 --- a/chrome/common/notification_types.h +++ b/chrome/common/notification_types.h @@ -155,6 +155,11 @@ enum NotificationType { // only valid for the duration of this call. NOTIFY_BROWSER_CLOSED, + // This message is sent when the last window considered to be an "application + // window" has been closed. Dependent/dialog/utility windows can use this as + // a way to know that they should also close. No source or details are passed. + NOTIFY_ALL_APPWINDOWS_CLOSED, + // Indicates that a top window has been closed. The source is the HWND that // was closed, no details are expected. NOTIFY_WINDOW_CLOSED, |