| 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 #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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the | 329 // the id returned from ExecuteJavascriptInWebFrameNotifyResult and the |
| 330 // Value the results of the javascript expression. The Value is owned by | 330 // Value the results of the javascript expression. The Value is owned by |
| 331 // RenderViewHost and may be a Null Value. | 331 // RenderViewHost and may be a Null Value. |
| 332 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, | 332 NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, |
| 333 | 333 |
| 334 // Notification from WebContents that we have received a response from the | 334 // Notification from WebContents that we have received a response from the |
| 335 // renderer in response to a dom automation controller action. The source is | 335 // renderer in response to a dom automation controller action. The source is |
| 336 // the RenderViewHost, and hte details is a DomOperationNotificationDetails. | 336 // the RenderViewHost, and hte details is a DomOperationNotificationDetails. |
| 337 NOTIFICATION_DOM_OPERATION_RESPONSE, | 337 NOTIFICATION_DOM_OPERATION_RESPONSE, |
| 338 | 338 |
| 339 // Notification posted from DocumentHasImages. The sources is the |
| 340 // RenderViewHost DocumentHasImages was invoked on. The details are a |
| 341 // std::pair<int, boolean> with the int giving the id returned from |
| 342 // DocumentHasImages is the boolean is whether or not the document has |
| 343 // images. |
| 344 NOTIFICATION_DOCUMENT_HAS_IMAGES_RESPONSE, |
| 345 |
| 339 // Child Processes --------------------------------------------------------- | 346 // Child Processes --------------------------------------------------------- |
| 340 | 347 |
| 341 // This notification is sent when a child process host has connected to a | 348 // This notification is sent when a child process host has connected to a |
| 342 // child process. There is no usable source, since it is sent from an | 349 // child process. There is no usable source, since it is sent from an |
| 343 // ephemeral task; register for AllSources() to receive this notification. | 350 // ephemeral task; register for AllSources() to receive this notification. |
| 344 // The details are in a Details<ChildProcessData>. | 351 // The details are in a Details<ChildProcessData>. |
| 345 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, | 352 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, |
| 346 | 353 |
| 347 // This message is sent after a ChildProcessHost is disconnected from the | 354 // This message is sent after a ChildProcessHost is disconnected from the |
| 348 // child process. There is no usable source, since it is sent from an | 355 // child process. There is no usable source, since it is sent from an |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 // of a temporary zoom level change, the details is an empty string. | 390 // of a temporary zoom level change, the details is an empty string. |
| 384 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 391 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 385 | 392 |
| 386 // Custom notifications used by the embedder should start from here. | 393 // Custom notifications used by the embedder should start from here. |
| 387 NOTIFICATION_CONTENT_END, | 394 NOTIFICATION_CONTENT_END, |
| 388 }; | 395 }; |
| 389 | 396 |
| 390 } // namespace content | 397 } // namespace content |
| 391 | 398 |
| 392 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 399 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |