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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // The focused element inside a page has changed. The source is the | 207 // The focused element inside a page has changed. The source is the |
208 // RenderViewHost. The details is a Details<const bool> that indicates whether | 208 // RenderViewHost. The details is a Details<const bool> that indicates whether |
209 // or not an editable node was focused. | 209 // or not an editable node was focused. |
210 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 210 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
211 | 211 |
212 // Notification from WebContents that we have received a response from the | 212 // Notification from WebContents that we have received a response from the |
213 // renderer in response to a dom automation controller action. The source is | 213 // renderer in response to a dom automation controller action. The source is |
214 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 214 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
215 NOTIFICATION_DOM_OPERATION_RESPONSE, | 215 NOTIFICATION_DOM_OPERATION_RESPONSE, |
216 | 216 |
| 217 // A WebContents was created for a child window. The source is WebContents |
| 218 // for parent window, and the details is a WebContents for new child window |
| 219 NOTIFICATION_WEB_CONTENTS_CREATE_NEW_WINDOW, |
| 220 |
217 // Custom notifications used by the embedder should start from here. | 221 // Custom notifications used by the embedder should start from here. |
218 NOTIFICATION_CONTENT_END, | 222 NOTIFICATION_CONTENT_END, |
219 }; | 223 }; |
220 | 224 |
221 } // namespace content | 225 } // namespace content |
222 | 226 |
223 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 227 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |