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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 // The focused element inside a page has changed. The source is the | 227 // The focused element inside a page has changed. The source is the |
228 // RenderViewHost. The details is a Details<const bool> that indicates whether | 228 // RenderViewHost. The details is a Details<const bool> that indicates whether |
229 // or not an editable node was focused. | 229 // or not an editable node was focused. |
230 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, | 230 NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
231 | 231 |
232 // Notification from WebContents that we have received a response from the | 232 // Notification from WebContents that we have received a response from the |
233 // renderer in response to a dom automation controller action. The source is | 233 // renderer in response to a dom automation controller action. The source is |
234 // the RenderViewHost, and the details is a DomOperationNotificationDetails. | 234 // the RenderViewHost, and the details is a DomOperationNotificationDetails. |
235 NOTIFICATION_DOM_OPERATION_RESPONSE, | 235 NOTIFICATION_DOM_OPERATION_RESPONSE, |
236 | 236 |
| 237 // Instruction from RendererProcessHost (via ChromeContentRendererClient) to |
| 238 // the browser to take over and handle the URL. This is used, |
| 239 // for example, to redirect to the app WebKit-initiated navigations to URLs |
| 240 // that some platform app has claimed it can handle. |
| 241 NOTIFICATION_HANDLE_URL_IN_BROWSER, |
| 242 |
237 // Custom notifications used by the embedder should start from here. | 243 // Custom notifications used by the embedder should start from here. |
238 NOTIFICATION_CONTENT_END, | 244 NOTIFICATION_CONTENT_END, |
239 }; | 245 }; |
240 | 246 |
241 } // namespace content | 247 } // namespace content |
242 | 248 |
243 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 249 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |