Chromium Code Reviews| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 159 // not be used for future navigations. The source will be the | 159 // not be used for future navigations. The source will be the |
| 160 // RenderProcessHost that corresponds to the process. | 160 // RenderProcessHost that corresponds to the process. |
| 161 NOTIFICATION_RENDERER_PROCESS_CLOSING, | 161 NOTIFICATION_RENDERER_PROCESS_CLOSING, |
| 162 | 162 |
| 163 // Indicates that a render process was closed (meaning it exited, but the | 163 // Indicates that a render process was closed (meaning it exited, but the |
| 164 // RenderProcessHost might be reused). The source will be the corresponding | 164 // RenderProcessHost might be reused). The source will be the corresponding |
| 165 // RenderProcessHost. The details will be a RendererClosedDetails struct. | 165 // RenderProcessHost. The details will be a RendererClosedDetails struct. |
| 166 // This may get sent along with RENDERER_PROCESS_TERMINATED. | 166 // This may get sent along with RENDERER_PROCESS_TERMINATED. |
| 167 NOTIFICATION_RENDERER_PROCESS_CLOSED, | 167 NOTIFICATION_RENDERER_PROCESS_CLOSED, |
| 168 | 168 |
| 169 // Indicated that a GPU process was closed and it had terminated abnormally. | |
|
Alexei Svitkine (slow)
2013/12/13 22:37:22
Nit: Indicates
rkaplow
2013/12/13 23:54:03
Done.
| |
| 170 NOTIFICATION_GPU_PROCESS_CLOSED, | |
|
Alexei Svitkine (slow)
2013/12/13 22:37:22
How about CLOSED_ABNORMALLY?
rkaplow
2013/12/13 23:54:03
Done.
| |
| 171 | |
| 169 // Indicates that a RenderWidgetHost has become unresponsive for a period of | 172 // Indicates that a RenderWidgetHost has become unresponsive for a period of |
| 170 // time. The source will be the RenderWidgetHost that corresponds to the | 173 // time. The source will be the RenderWidgetHost that corresponds to the |
| 171 // hung view, and no details are expected. | 174 // hung view, and no details are expected. |
| 172 NOTIFICATION_RENDER_WIDGET_HOST_HANG, | 175 NOTIFICATION_RENDER_WIDGET_HOST_HANG, |
| 173 | 176 |
| 174 // This is sent when a RenderWidgetHost is being destroyed. The source is | 177 // This is sent when a RenderWidgetHost is being destroyed. The source is |
| 175 // the RenderWidgetHost, the details are not used. | 178 // the RenderWidgetHost, the details are not used. |
| 176 NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED, | 179 NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED, |
| 177 | 180 |
| 178 // Sent after the backing store has been updated but before the widget has | 181 // Sent after the backing store has been updated but before the widget has |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 219 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 222 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
| 220 NOTIFICATION_DOM_OPERATION_RESPONSE, | 223 NOTIFICATION_DOM_OPERATION_RESPONSE, |
| 221 | 224 |
| 222 // Custom notifications used by the embedder should start from here. | 225 // Custom notifications used by the embedder should start from here. |
| 223 NOTIFICATION_CONTENT_END, | 226 NOTIFICATION_CONTENT_END, |
| 224 }; | 227 }; |
| 225 | 228 |
| 226 } // namespace content | 229 } // namespace content |
| 227 | 230 |
| 228 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 231 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |