OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
10 // | 10 // |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 141 |
142 // Indicates that a RenderProcessHost was created and its handle is now | 142 // Indicates that a RenderProcessHost was created and its handle is now |
143 // available. The source will be the RenderProcessHost that corresponds to | 143 // available. The source will be the RenderProcessHost that corresponds to |
144 // the process. | 144 // the process. |
145 NOTIFICATION_RENDERER_PROCESS_CREATED, | 145 NOTIFICATION_RENDERER_PROCESS_CREATED, |
146 | 146 |
147 // Indicates that a RenderProcessHost is destructing. The source will be the | 147 // Indicates that a RenderProcessHost is destructing. The source will be the |
148 // RenderProcessHost that corresponds to the process. | 148 // RenderProcessHost that corresponds to the process. |
149 NOTIFICATION_RENDERER_PROCESS_TERMINATED, | 149 NOTIFICATION_RENDERER_PROCESS_TERMINATED, |
150 | 150 |
151 // Indicates that a render process is starting to exit, such that it should | |
152 // not be used for future navigations. The source will be the | |
153 // RenderProcessHost that corresponds to the process. | |
154 NOTIFICATION_RENDERER_PROCESS_CLOSING, | |
155 | |
156 // Indicates that a render process was closed (meaning it exited, but the | 151 // Indicates that a render process was closed (meaning it exited, but the |
157 // RenderProcessHost might be reused). The source will be the corresponding | 152 // RenderProcessHost might be reused). The source will be the corresponding |
158 // RenderProcessHost. The details will be a RendererClosedDetails struct. | 153 // RenderProcessHost. The details will be a RendererClosedDetails struct. |
159 // This may get sent along with RENDERER_PROCESS_TERMINATED. | 154 // This may get sent along with RENDERER_PROCESS_TERMINATED. |
160 NOTIFICATION_RENDERER_PROCESS_CLOSED, | 155 NOTIFICATION_RENDERER_PROCESS_CLOSED, |
161 | 156 |
162 // Indicates that a RenderWidgetHost has become unresponsive for a period of | 157 // Indicates that a RenderWidgetHost has become unresponsive for a period of |
163 // time. The source will be the RenderWidgetHost that corresponds to the | 158 // time. The source will be the RenderWidgetHost that corresponds to the |
164 // hung view, and no details are expected. | 159 // hung view, and no details are expected. |
165 NOTIFICATION_RENDER_WIDGET_HOST_HANG, | 160 NOTIFICATION_RENDER_WIDGET_HOST_HANG, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 202 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
208 NOTIFICATION_DOM_OPERATION_RESPONSE, | 203 NOTIFICATION_DOM_OPERATION_RESPONSE, |
209 | 204 |
210 // Custom notifications used by the embedder should start from here. | 205 // Custom notifications used by the embedder should start from here. |
211 NOTIFICATION_CONTENT_END, | 206 NOTIFICATION_CONTENT_END, |
212 }; | 207 }; |
213 | 208 |
214 } // namespace content | 209 } // namespace content |
215 | 210 |
216 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 211 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |