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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // The focused element inside a page has changed. The source is the | 235 // The focused element inside a page has changed. The source is the |
236 // RenderViewHost. The details is a Details<const bool> that indicates whether | 236 // RenderViewHost. The details is a Details<const bool> that indicates whether |
237 // or not an editable node was focused. | 237 // or not an editable node was focused. |
238 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 238 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
239 | 239 |
240 // Notification from WebContents that we have received a response from the | 240 // Notification from WebContents that we have received a response from the |
241 // renderer in response to a dom automation controller action. The source is | 241 // renderer in response to a dom automation controller action. The source is |
242 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 242 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
243 NOTIFICATION_DOM_OPERATION_RESPONSE, | 243 NOTIFICATION_DOM_OPERATION_RESPONSE, |
244 | 244 |
245 // Indicates that the render view host has received a "load complete" | |
246 // accessibility notification. The source is the RenderViewHost, | |
247 // the details are not used. | |
248 NOTIFICATION_ACCESSIBILITY_LOAD_COMPLETE, | |
249 | |
250 // Indicates that the render view host has received a "layout complete" | |
251 // accessibility notification. The source is the RenderViewHost, | |
252 // the details are not used. | |
253 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE, | |
254 | |
255 // Indicates that the render view host has received an accessibility | |
256 // notification. other than the ones covered above. | |
257 // The source is the RenderViewHost, the details are not used. | |
258 NOTIFICATION_ACCESSIBILITY_OTHER, | |
259 | |
260 // Miscellaneous ------------------------------------------------------------- | 245 // Miscellaneous ------------------------------------------------------------- |
261 | 246 |
262 // Sent before the repost form warning is brought up. | 247 // Sent before the repost form warning is brought up. |
263 // The source is a NavigationController. | 248 // The source is a NavigationController. |
264 NOTIFICATION_REPOST_WARNING_SHOWN, | 249 NOTIFICATION_REPOST_WARNING_SHOWN, |
265 | 250 |
266 // Custom notifications used by the embedder should start from here. | 251 // Custom notifications used by the embedder should start from here. |
267 NOTIFICATION_CONTENT_END, | 252 NOTIFICATION_CONTENT_END, |
268 }; | 253 }; |
269 | 254 |
270 } // namespace content | 255 } // namespace content |
271 | 256 |
272 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 257 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |