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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 | 225 |
226 // This notification is sent when a render view host has connected to a | 226 // This notification is sent when a render view host has connected to a |
227 // renderer process. The source is a Source<TabContents> with a pointer to | 227 // renderer process. The source is a Source<TabContents> with a pointer to |
228 // the TabContents. A TAB_CONTENTS_DISCONNECTED notification is | 228 // the TabContents. A TAB_CONTENTS_DISCONNECTED notification is |
229 // guaranteed before the source pointer becomes junk. No details are | 229 // guaranteed before the source pointer becomes junk. No details are |
230 // expected. | 230 // expected. |
231 NOTIFICATION_TAB_CONTENTS_CONNECTED, | 231 NOTIFICATION_TAB_CONTENTS_CONNECTED, |
232 | 232 |
233 // This notification is sent when a TabContents swaps its render view host | 233 // This notification is sent when a TabContents swaps its render view host |
234 // with another one, possibly changing processes. The source is a | 234 // with another one, possibly changing processes. The source is a |
235 // Source<TabContents> with a pointer to the TabContents. A | 235 // Source<WebContents> with a pointer to the WebContents. A |
236 // TAB_CONTENTS_DISCONNECTED notification is guaranteed before the | 236 // TAB_CONTENTS_DISCONNECTED notification is guaranteed before the |
237 // source pointer becomes junk. No details are expected. | 237 // source pointer becomes junk. No details are expected. |
238 NOTIFICATION_TAB_CONTENTS_SWAPPED, | 238 NOTIFICATION_WEB_CONTENTS_SWAPPED, |
239 | 239 |
240 // This message is sent after a WebContents is disconnected from the | 240 // This message is sent after a WebContents is disconnected from the |
241 // renderer process. The source is a Source<WebContents> with a pointer to | 241 // renderer process. The source is a Source<WebContents> with a pointer to |
242 // the WebContents (the pointer is usable). No details are expected. | 242 // the WebContents (the pointer is usable). No details are expected. |
243 NOTIFICATION_WEB_CONTENTS_DISCONNECTED, | 243 NOTIFICATION_WEB_CONTENTS_DISCONNECTED, |
244 | 244 |
245 // This notification is sent after TabContents' title is updated. The source | 245 // This notification is sent after TabContents' title is updated. The source |
246 // is a Source<TabContents> with a pointer to the TabContents. The details | 246 // is a Source<TabContents> with a pointer to the TabContents. The details |
247 // is a Details<TitleUpdatedDetails> that contains more information. | 247 // is a Details<TitleUpdatedDetails> that contains more information. |
248 NOTIFICATION_TAB_CONTENTS_TITLE_UPDATED, | 248 NOTIFICATION_TAB_CONTENTS_TITLE_UPDATED, |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 // of a temporary zoom level change, the details is an empty string. | 423 // of a temporary zoom level change, the details is an empty string. |
424 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 424 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
425 | 425 |
426 // Custom notifications used by the embedder should start from here. | 426 // Custom notifications used by the embedder should start from here. |
427 NOTIFICATION_CONTENT_END, | 427 NOTIFICATION_CONTENT_END, |
428 }; | 428 }; |
429 | 429 |
430 } // namespace content | 430 } // namespace content |
431 | 431 |
432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 432 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
OLD | NEW |