OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // request was issued. Details in the form of a ResourceRequestDetails | 113 // request was issued. Details in the form of a ResourceRequestDetails |
114 // object are provided. | 114 // object are provided. |
115 NOTIFICATION_RESOURCE_RESPONSE_STARTED, | 115 NOTIFICATION_RESOURCE_RESPONSE_STARTED, |
116 | 116 |
117 // A redirect was received while requesting a resource. The source will be | 117 // A redirect was received while requesting a resource. The source will be |
118 // a Source<RenderViewHostDelegate> corresponding to the tab in which the | 118 // a Source<RenderViewHostDelegate> corresponding to the tab in which the |
119 // request was issued. Details in the form of a ResourceRedirectDetails | 119 // request was issued. Details in the form of a ResourceRedirectDetails |
120 // are provided. | 120 // are provided. |
121 NOTIFICATION_RESOURCE_RECEIVED_REDIRECT, | 121 NOTIFICATION_RESOURCE_RECEIVED_REDIRECT, |
122 | 122 |
123 // A new tab is created from an existing tab to serve as a target of a | |
124 // navigation that is about to happen. The source will be a | |
125 // Source<BrowserContext> corresponding to the browser context in which the | |
126 // new tab will live. Details in the form of a RetargetingDetails object are | |
127 // provided. | |
128 NOTIFICATION_RETARGETING, | |
129 | |
130 // A new window was requested but was not created. The source will be a | 123 // A new window was requested but was not created. The source will be a |
131 // Source<TabContents> corresponding to the tab the request originated from. | 124 // Source<TabContents> corresponding to the tab the request originated from. |
132 // Details are the ViewHostMsg_CreateWindow_Params object that were used in | 125 // Details are the ViewHostMsg_CreateWindow_Params object that were used in |
133 // the request. | 126 // the request. |
134 NOTIFICATION_CREATING_NEW_WINDOW_CANCELLED, | 127 NOTIFICATION_CREATING_NEW_WINDOW_CANCELLED, |
135 | 128 |
136 // SSL --------------------------------------------------------------------- | 129 // SSL --------------------------------------------------------------------- |
137 | 130 |
138 // Updating the SSL security indicators (the lock icon and such) proceeds | 131 // Updating the SSL security indicators (the lock icon and such) proceeds |
139 // in two phases: | 132 // in two phases: |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 // of a temporary zoom level change, the details is an empty string. | 415 // of a temporary zoom level change, the details is an empty string. |
423 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 416 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
424 | 417 |
425 // Custom notifications used by the embedder should start from here. | 418 // Custom notifications used by the embedder should start from here. |
426 NOTIFICATION_CONTENT_END, | 419 NOTIFICATION_CONTENT_END, |
427 }; | 420 }; |
428 | 421 |
429 } // namespace content | 422 } // namespace content |
430 | 423 |
431 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 424 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |