| 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_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 #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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // The details are in a Details<content::ChildProcessData>. | 384 // The details are in a Details<content::ChildProcessData>. |
| 385 NOTIFICATION_CHILD_PROCESS_HOST_DISCONNECTED, | 385 NOTIFICATION_CHILD_PROCESS_HOST_DISCONNECTED, |
| 386 | 386 |
| 387 // This message is sent when a child process disappears | 387 // This message is sent when a child process disappears |
| 388 // unexpectedly as a result of a crash. There is no usable | 388 // unexpectedly as a result of a crash. There is no usable |
| 389 // source, since it is sent from an ephemeral task; register for | 389 // source, since it is sent from an ephemeral task; register for |
| 390 // AllSources() to receive this notification. The details are in | 390 // AllSources() to receive this notification. The details are in |
| 391 // a Details<content::ChildProcessData>. | 391 // a Details<content::ChildProcessData>. |
| 392 NOTIFICATION_CHILD_PROCESS_CRASHED, | 392 NOTIFICATION_CHILD_PROCESS_CRASHED, |
| 393 | 393 |
| 394 // This message is sent when a child process disappears | |
| 395 // unexpectedly as a result of a termination signal. There is no | |
| 396 // usable source, since it is sent from an ephemeral task; | |
| 397 // register for AllSources() to receive this notification. The | |
| 398 // details are in a Details<content::ChildProcessData>. | |
| 399 NOTIFICATION_CHILD_PROCESS_WAS_KILLED, | |
| 400 | |
| 401 // This message indicates that an instance of a particular child was | 394 // This message indicates that an instance of a particular child was |
| 402 // created in a page. (If one page contains several regions rendered by | 395 // created in a page. (If one page contains several regions rendered by |
| 403 // the same child, this notification will occur once for each region | 396 // the same child, this notification will occur once for each region |
| 404 // during the page load.) | 397 // during the page load.) |
| 405 // | 398 // |
| 406 // There is no usable source, since it is sent from an ephemeral task; | 399 // There is no usable source, since it is sent from an ephemeral task; |
| 407 // register for AllSources() to receive this notification. The details are | 400 // register for AllSources() to receive this notification. The details are |
| 408 // in a Details<content::ChildProcessData>. | 401 // in a Details<content::ChildProcessData>. |
| 409 NOTIFICATION_CHILD_INSTANCE_CREATED, | 402 NOTIFICATION_CHILD_INSTANCE_CREATED, |
| 410 | 403 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 430 // of a temporary zoom level change, the details is an empty string. | 423 // of a temporary zoom level change, the details is an empty string. |
| 431 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 424 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 432 | 425 |
| 433 // Custom notifications used by the embedder should start from here. | 426 // Custom notifications used by the embedder should start from here. |
| 434 NOTIFICATION_CONTENT_END, | 427 NOTIFICATION_CONTENT_END, |
| 435 }; | 428 }; |
| 436 | 429 |
| 437 } // namespace content | 430 } // namespace content |
| 438 | 431 |
| 439 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |