| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 // The focused element inside a page has changed. The source is the | 243 // The focused element inside a page has changed. The source is the |
| 244 // RenderViewHost. The details is a Details<const bool> that indicates whether | 244 // RenderViewHost. The details is a Details<const bool> that indicates whether |
| 245 // or not an editable node was focused. | 245 // or not an editable node was focused. |
| 246 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 246 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
| 247 | 247 |
| 248 // Notification from WebContents that we have received a response from the | 248 // Notification from WebContents that we have received a response from the |
| 249 // renderer in response to a dom automation controller action. The source is | 249 // renderer in response to a dom automation controller action. The source is |
| 250 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 250 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
| 251 NOTIFICATION_DOM_OPERATION_RESPONSE, | 251 NOTIFICATION_DOM_OPERATION_RESPONSE, |
| 252 | 252 |
| 253 // Indicates that the render view host has received a "load complete" |
| 254 // accessibility notification. The source is the RenderViewHost, |
| 255 // the details are not used. |
| 256 NOTIFICATION_ACCESSIBILITY_LOAD_COMPLETE, |
| 257 |
| 258 // Indicates that the render view host has received a "layout complete" |
| 259 // accessibility notification. The source is the RenderViewHost, |
| 260 // the details are not used. |
| 261 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE, |
| 262 |
| 263 // Indicates that the render view host has received an accessibility |
| 264 // notification. other than the ones covered above. |
| 265 // The source is the RenderViewHost, the details are not used. |
| 266 NOTIFICATION_ACCESSIBILITY_OTHER, |
| 267 |
| 253 // Child Processes --------------------------------------------------------- | 268 // Child Processes --------------------------------------------------------- |
| 254 | 269 |
| 255 // This notification is sent when a child process host has connected to a | 270 // This notification is sent when a child process host has connected to a |
| 256 // child process. There is no usable source, since it is sent from an | 271 // child process. There is no usable source, since it is sent from an |
| 257 // ephemeral task; register for AllSources() to receive this notification. | 272 // ephemeral task; register for AllSources() to receive this notification. |
| 258 // The details are in a Details<ChildProcessData>. | 273 // The details are in a Details<ChildProcessData>. |
| 259 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, | 274 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED, |
| 260 | 275 |
| 261 // This message is sent after a ChildProcessHost is disconnected from the | 276 // This message is sent after a ChildProcessHost is disconnected from the |
| 262 // child process. There is no usable source, since it is sent from an | 277 // child process. There is no usable source, since it is sent from an |
| (...skipping 24 matching lines...) Expand all Loading... |
| 287 // The source is a NavigationController. | 302 // The source is a NavigationController. |
| 288 NOTIFICATION_REPOST_WARNING_SHOWN, | 303 NOTIFICATION_REPOST_WARNING_SHOWN, |
| 289 | 304 |
| 290 // Custom notifications used by the embedder should start from here. | 305 // Custom notifications used by the embedder should start from here. |
| 291 NOTIFICATION_CONTENT_END, | 306 NOTIFICATION_CONTENT_END, |
| 292 }; | 307 }; |
| 293 | 308 |
| 294 } // namespace content | 309 } // namespace content |
| 295 | 310 |
| 296 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 311 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |