Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: content/public/browser/notification_types.h

Issue 9015022: Replace most of Browser::GetSelectedTabContents calls into Browser::GetSelectedWebContents. I've ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « content/public/browser/download_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698