| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_NOTIFICATION_TYPE_H_ | 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 | 401 |
| 402 // Indicates that a RenderProcessHost was created and its handle is now | 402 // Indicates that a RenderProcessHost was created and its handle is now |
| 403 // available. The source will be the RenderProcessHost that corresponds to | 403 // available. The source will be the RenderProcessHost that corresponds to |
| 404 // the process. | 404 // the process. |
| 405 RENDERER_PROCESS_CREATED, | 405 RENDERER_PROCESS_CREATED, |
| 406 | 406 |
| 407 // Indicates that a RenderProcessHost is destructing. The source will be the | 407 // Indicates that a RenderProcessHost is destructing. The source will be the |
| 408 // RenderProcessHost that corresponds to the process. | 408 // RenderProcessHost that corresponds to the process. |
| 409 RENDERER_PROCESS_TERMINATED, | 409 RENDERER_PROCESS_TERMINATED, |
| 410 | 410 |
| 411 // Indicates that a render process is starting to exit, such that it should |
| 412 // not be used for future navigations. The source will be the |
| 413 // RenderProcessHost that corresponds to the process. |
| 414 RENDERER_PROCESS_CLOSING, |
| 415 |
| 411 // Indicates that a render process was closed (meaning it exited, but the | 416 // Indicates that a render process was closed (meaning it exited, but the |
| 412 // RenderProcessHost might be reused). The source will be the corresponding | 417 // RenderProcessHost might be reused). The source will be the corresponding |
| 413 // RenderProcessHost. The details will be a RendererClosedDetails struct. | 418 // RenderProcessHost. The details will be a RendererClosedDetails struct. |
| 414 // This may get sent along with RENDERER_PROCESS_TERMINATED. | 419 // This may get sent along with RENDERER_PROCESS_TERMINATED. |
| 415 RENDERER_PROCESS_CLOSED, | 420 RENDERER_PROCESS_CLOSED, |
| 416 | 421 |
| 417 // Indicates that a render process has become unresponsive for a period of | 422 // Indicates that a render process has become unresponsive for a period of |
| 418 // time. The source will be the RenderWidgetHost that corresponds to the | 423 // time. The source will be the RenderWidgetHost that corresponds to the |
| 419 // hung view, and no details are expected. | 424 // hung view, and no details are expected. |
| 420 RENDERER_PROCESS_HANG, | 425 RENDERER_PROCESS_HANG, |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 }; | 1331 }; |
| 1327 | 1332 |
| 1328 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1333 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1329 return a == b.value; | 1334 return a == b.value; |
| 1330 } | 1335 } |
| 1331 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1336 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1332 return a != b.value; | 1337 return a != b.value; |
| 1333 } | 1338 } |
| 1334 | 1339 |
| 1335 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 1340 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |