| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // a Source<WebContents>. The details is a bool set to true if the new | 201 // a Source<WebContents>. The details is a bool set to true if the new |
| 202 // state is visible. | 202 // state is visible. |
| 203 NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED, | 203 NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED, |
| 204 | 204 |
| 205 // This notification is sent when a WebContents is being destroyed. Any | 205 // This notification is sent when a WebContents is being destroyed. Any |
| 206 // object holding a reference to a WebContents can listen to that | 206 // object holding a reference to a WebContents can listen to that |
| 207 // notification to properly reset the reference. The source is a | 207 // notification to properly reset the reference. The source is a |
| 208 // Source<WebContents>. | 208 // Source<WebContents>. |
| 209 NOTIFICATION_WEB_CONTENTS_DESTROYED, | 209 NOTIFICATION_WEB_CONTENTS_DESTROYED, |
| 210 | 210 |
| 211 // A RenderView will be created in a RenderViewHost for a WebContents. The |
| 212 // source is the associated WebContents, and the details is the |
| 213 // RenderViewHost pointer. |
| 214 NOTIFICATION_WEB_CONTENTS_WILL_CREATE_RENDER_VIEW, |
| 215 |
| 211 // A RenderViewHost was created for a WebContents. The source is the | 216 // A RenderViewHost was created for a WebContents. The source is the |
| 212 // associated WebContents, and the details is the RenderViewHost | 217 // associated WebContents, and the details is the RenderViewHost |
| 213 // pointer. | 218 // pointer. |
| 214 NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED, | 219 NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED, |
| 215 | 220 |
| 216 // Notification than an interstitial has become associated with a tab. The | 221 // Notification than an interstitial has become associated with a tab. The |
| 217 // source is the WebContents, the details not used. | 222 // source is the WebContents, the details not used. |
| 218 NOTIFICATION_INTERSTITIAL_ATTACHED, | 223 NOTIFICATION_INTERSTITIAL_ATTACHED, |
| 219 | 224 |
| 220 // Notification than an interstitial has become detached from a tab. The | 225 // Notification than an interstitial has become detached from a tab. The |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 374 | 379 |
| 375 NOTIFICATION_BROWSER_PLUGIN_UPDATE_RECT, | 380 NOTIFICATION_BROWSER_PLUGIN_UPDATE_RECT, |
| 376 | 381 |
| 377 // Custom notifications used by the embedder should start from here. | 382 // Custom notifications used by the embedder should start from here. |
| 378 NOTIFICATION_CONTENT_END, | 383 NOTIFICATION_CONTENT_END, |
| 379 }; | 384 }; |
| 380 | 385 |
| 381 } // namespace content | 386 } // namespace content |
| 382 | 387 |
| 383 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 388 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |