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 #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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 // This notification is sent when a render view host has connected to a | 211 // This notification is sent when a render view host has connected to a |
212 // renderer process. The source is a Source<WebContents> with a pointer to | 212 // renderer process. The source is a Source<WebContents> with a pointer to |
213 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is | 213 // the WebContents. A WEB_CONTENTS_DISCONNECTED notification is |
214 // guaranteed before the source pointer becomes junk. No details are | 214 // guaranteed before the source pointer becomes junk. No details are |
215 // expected. | 215 // expected. |
216 NOTIFICATION_WEB_CONTENTS_CONNECTED, | 216 NOTIFICATION_WEB_CONTENTS_CONNECTED, |
217 | 217 |
218 // This notification is sent when a WebContents swaps its render view host | 218 // This notification is sent when a WebContents swaps its render view host |
219 // with another one, possibly changing processes. The source is a | 219 // with another one, possibly changing processes. The source is a |
220 // Source<WebContents> with a pointer to the WebContents. A | 220 // Source<WebContents> with a pointer to the WebContents. A |
221 // TAB_CONTENTS_DISCONNECTED notification is guaranteed before the | 221 // NOTIFICATION_WEB_CONTENTS_DISCONNECTED notification is guaranteed before |
222 // source pointer becomes junk. No details are expected. | 222 // the source pointer becomes junk. No details are expected. |
223 NOTIFICATION_WEB_CONTENTS_SWAPPED, | 223 NOTIFICATION_WEB_CONTENTS_SWAPPED, |
224 | 224 |
225 // This message is sent after a WebContents is disconnected from the | 225 // This message is sent after a WebContents is disconnected from the |
226 // renderer process. The source is a Source<WebContents> with a pointer to | 226 // renderer process. The source is a Source<WebContents> with a pointer to |
227 // the WebContents (the pointer is usable). No details are expected. | 227 // the WebContents (the pointer is usable). No details are expected. |
228 NOTIFICATION_WEB_CONTENTS_DISCONNECTED, | 228 NOTIFICATION_WEB_CONTENTS_DISCONNECTED, |
229 | 229 |
230 // This notification is sent after WebContents' title is updated. The source | 230 // This notification is sent after WebContents' title is updated. The source |
231 // is a Source<WebContents> with a pointer to the WebContents. The details | 231 // is a Source<WebContents> with a pointer to the WebContents. The details |
232 // is a std::pair<NavigationEntry*, bool> that contains more information. | 232 // is a std::pair<NavigationEntry*, bool> that contains more information. |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 // of a temporary zoom level change, the details is an empty string. | 402 // of a temporary zoom level change, the details is an empty string. |
403 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 403 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
404 | 404 |
405 // Custom notifications used by the embedder should start from here. | 405 // Custom notifications used by the embedder should start from here. |
406 NOTIFICATION_CONTENT_END, | 406 NOTIFICATION_CONTENT_END, |
407 }; | 407 }; |
408 | 408 |
409 } // namespace content | 409 } // namespace content |
410 | 410 |
411 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 411 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |