| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 // The focused element inside a page has changed. The source is the | 277 // The focused element inside a page has changed. The source is the |
| 278 // RenderViewHost. The details is a Details<const bool> that indicates whether | 278 // RenderViewHost. The details is a Details<const bool> that indicates whether |
| 279 // or not an editable node was focused. | 279 // or not an editable node was focused. |
| 280 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 280 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
| 281 | 281 |
| 282 // Notification from WebContents that we have received a response from the | 282 // Notification from WebContents that we have received a response from the |
| 283 // renderer in response to a dom automation controller action. The source is | 283 // renderer in response to a dom automation controller action. The source is |
| 284 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 284 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
| 285 NOTIFICATION_DOM_OPERATION_RESPONSE, | 285 NOTIFICATION_DOM_OPERATION_RESPONSE, |
| 286 | 286 |
| 287 // Indicates that the render view host has received a "load complete" | |
| 288 // accessibility notification. The source is the RenderViewHost, | |
| 289 // the details are not used. | |
| 290 NOTIFICATION_ACCESSIBILITY_LOAD_COMPLETE, | |
| 291 | |
| 292 // Indicates that the render view host has received a "layout complete" | |
| 293 // accessibility notification. The source is the RenderViewHost, | |
| 294 // the details are not used. | |
| 295 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE, | |
| 296 | |
| 297 // Indicates that the render view host has received an accessibility | |
| 298 // notification. other than the ones covered above. | |
| 299 // The source is the RenderViewHost, the details are not used. | |
| 300 NOTIFICATION_ACCESSIBILITY_OTHER, | |
| 301 | |
| 302 // Child Processes --------------------------------------------------------- | 287 // Child Processes --------------------------------------------------------- |
| 303 | 288 |
| 304 // This notification is sent when a child process host has connected to a | 289 // This notification is sent when a child process host has connected to a |
| 305 // child process. There is no usable source, since it is sent from an | 290 // child process. There is no usable source, since it is sent from an |
| 306 // ephemeral task; register for AllSources() to receive this notification. | 291 // ephemeral task; register for AllSources() to receive this notification. |
| 307 // The details are in a Details<ChildProcessData>. | 292 // The details are in a Details<ChildProcessData>. |
| 308 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, | 293 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, |
| 309 | 294 |
| 310 // This message is sent after a ChildProcessHost is disconnected from the | 295 // This message is sent after a ChildProcessHost is disconnected from the |
| 311 // child process. There is no usable source, since it is sent from an | 296 // child process. There is no usable source, since it is sent from an |
| (...skipping 24 matching lines...) Expand all Loading... |
| 336 // The source is a NavigationController. | 321 // The source is a NavigationController. |
| 337 NOTIFICATION_REPOST_WARNING_SHOWN, | 322 NOTIFICATION_REPOST_WARNING_SHOWN, |
| 338 | 323 |
| 339 // Custom notifications used by the embedder should start from here. | 324 // Custom notifications used by the embedder should start from here. |
| 340 NOTIFICATION_CONTENT_END, | 325 NOTIFICATION_CONTENT_END, |
| 341 }; | 326 }; |
| 342 | 327 |
| 343 } // namespace content | 328 } // namespace content |
| 344 | 329 |
| 345 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 330 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |