OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(ENABLE_EXTENSIONS) | 10 #if defined(ENABLE_EXTENSIONS) |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
117 // browsers have closed. This is sent if the user chooses to exit (via exit | 117 // browsers have closed. This is sent if the user chooses to exit (via exit |
118 // menu item or keyboard shortcut) or to restart the process (such as in flags | 118 // menu item or keyboard shortcut) or to restart the process (such as in flags |
119 // page), not if Chrome exits by some other means (such as the user closing | 119 // page), not if Chrome exits by some other means (such as the user closing |
120 // the last window). No source or details are passed. | 120 // the last window). No source or details are passed. |
121 // | 121 // |
122 // Note that receiving this notification does not necessarily mean the process | 122 // Note that receiving this notification does not necessarily mean the process |
123 // will exit because the shutdown process can be cancelled by an unload | 123 // will exit because the shutdown process can be cancelled by an unload |
124 // handler. Use APP_TERMINATING for such needs. | 124 // handler. Use APP_TERMINATING for such needs. |
125 NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST, | 125 NOTIFICATION_CLOSE_ALL_BROWSERS_REQUEST, |
126 | 126 |
127 // Application-modal dialogs ----------------------------------------------- | 127 // Application-modal dialogs ----------------------------------------------- |
msw
2014/10/22 22:53:31
nit: if you remove the only actually dialog-relate
oshima
2014/10/23 00:44:11
I didn't remove the section and that's why I didn'
msw
2014/10/23 18:41:21
NOTIFICATION_METRIC_EVENT_DURATION can probably be
oshima
2014/10/23 21:44:18
I sent you CL that removes NOTIFICATION_METRIC_EVE
msw
2014/10/23 22:01:24
Acknowledged.
| |
128 | 128 |
129 // Sent after an application-modal dialog has been shown. The source | |
130 // is the dialog. | |
131 NOTIFICATION_APP_MODAL_DIALOG_SHOWN, | |
132 | |
133 // This message is sent when a new InfoBar has been added to an | 129 // This message is sent when a new InfoBar has been added to an |
134 // InfoBarService. The source is a Source<InfoBarService> with a pointer to | 130 // InfoBarService. The source is a Source<InfoBarService> with a pointer to |
135 // the InfoBarService the InfoBar was added to. The details is a | 131 // the InfoBarService the InfoBar was added to. The details is a |
136 // Details<InfoBar::AddedDetails>. | 132 // Details<InfoBar::AddedDetails>. |
137 NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED, | 133 NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED, |
138 | 134 |
139 // This message is sent when an InfoBar is about to be removed from an | 135 // This message is sent when an InfoBar is about to be removed from an |
140 // InfoBarService. The source is a Source<InfoBarService> with a pointer to | 136 // InfoBarService. The source is a Source<InfoBarService> with a pointer to |
141 // the InfoBarService the InfoBar was removed from. The details is a | 137 // the InfoBarService the InfoBar was removed from. The details is a |
142 // Details<InfoBar::RemovedDetails>. | 138 // Details<InfoBar::RemovedDetails>. |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
689 // Note:- | 685 // Note:- |
690 // Currently only Content and Chrome define and use notifications. | 686 // Currently only Content and Chrome define and use notifications. |
691 // Custom notifications not belonging to Content and Chrome should start | 687 // Custom notifications not belonging to Content and Chrome should start |
692 // from here. | 688 // from here. |
693 NOTIFICATION_CHROME_END, | 689 NOTIFICATION_CHROME_END, |
694 }; | 690 }; |
695 | 691 |
696 } // namespace chrome | 692 } // namespace chrome |
697 | 693 |
698 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 694 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |