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

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

Issue 10073023: TabContents -> WebContentsImpl, part 14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/navigation_entry.h ('k') | content/public/browser/page_navigator.h » ('j') | 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) 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // NavigationController with no details. 208 // NavigationController with no details.
209 NOTIFICATION_TAB_CLOSED, 209 NOTIFICATION_TAB_CLOSED,
210 210
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 TabContents 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 // TAB_CONTENTS_DISCONNECTED notification is guaranteed before the
222 // source pointer becomes junk. No details are expected. 222 // 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 TabContents' 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.
233 NOTIFICATION_WEB_CONTENTS_TITLE_UPDATED, 233 NOTIFICATION_WEB_CONTENTS_TITLE_UPDATED,
234 234
235 // This notification is sent when a WebContents is being hidden, e.g. due 235 // This notification is sent when a WebContents is being hidden, e.g. due
236 // to switching away from this tab. The source is a Source<WebContents>. 236 // to switching away from this tab. The source is a Source<WebContents>.
237 NOTIFICATION_WEB_CONTENTS_HIDDEN, 237 NOTIFICATION_WEB_CONTENTS_HIDDEN,
238 238
239 // This notification is sent when a WebContents is being destroyed. Any 239 // This notification is sent when a WebContents is being destroyed. Any
240 // object holding a reference to a WebContents can listen to that 240 // object holding a reference to a WebContents can listen to that
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // RenderProcessHost might be reused). The source will be the corresponding 273 // RenderProcessHost might be reused). The source will be the corresponding
274 // RenderProcessHost. The details will be a RendererClosedDetails struct. 274 // RenderProcessHost. The details will be a RendererClosedDetails struct.
275 // This may get sent along with RENDERER_PROCESS_TERMINATED. 275 // This may get sent along with RENDERER_PROCESS_TERMINATED.
276 NOTIFICATION_RENDERER_PROCESS_CLOSED, 276 NOTIFICATION_RENDERER_PROCESS_CLOSED,
277 277
278 // Indicates that a render process has become unresponsive for a period of 278 // Indicates that a render process has become unresponsive for a period of
279 // time. The source will be the RenderWidgetHost that corresponds to the 279 // time. The source will be the RenderWidgetHost that corresponds to the
280 // hung view, and no details are expected. 280 // hung view, and no details are expected.
281 NOTIFICATION_RENDERER_PROCESS_HANG, 281 NOTIFICATION_RENDERER_PROCESS_HANG,
282 282
283 // This is sent to notify that the RenderViewHost displayed in a 283 // This is sent to notify that the RenderViewHost displayed in a WebContents
284 // TabContents has changed. Source is the NavigationController for which the 284 // has changed. Source is the NavigationController for which the change
285 // change happened, details is a 285 // happened, details is a
286 // std::pair::<old RenderViewHost, new RenderViewHost>). 286 // std::pair::<old RenderViewHost, new RenderViewHost>).
287 NOTIFICATION_RENDER_VIEW_HOST_CHANGED, 287 NOTIFICATION_RENDER_VIEW_HOST_CHANGED,
288 288
289 // Indicates that the render view host has received an accessibility tree 289 // Indicates that the render view host has received an accessibility tree
290 // update, either partial or full, from the render view. The source is the 290 // update, either partial or full, from the render view. The source is the
291 // RenderViewHost, the details are not used. 291 // RenderViewHost, the details are not used.
292 NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED, 292 NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
293 293
294 // This is sent when a RenderWidgetHost is being destroyed. The source is 294 // This is sent when a RenderWidgetHost is being destroyed. The source is
295 // the RenderWidgetHost, the details are not used. 295 // the RenderWidgetHost, the details are not used.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/public/browser/navigation_entry.h ('k') | content/public/browser/page_navigator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698