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

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

Issue 12212089: content: convert child process notifications to observer usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: private Created 7 years, 9 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/browser_child_process_observer.cc ('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) 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 // Indicates that the render view host has received a "layout complete" 258 // Indicates that the render view host has received a "layout complete"
259 // accessibility notification. The source is the RenderViewHost, 259 // accessibility notification. The source is the RenderViewHost,
260 // the details are not used. 260 // the details are not used.
261 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE, 261 NOTIFICATION_ACCESSIBILITY_LAYOUT_COMPLETE,
262 262
263 // Indicates that the render view host has received an accessibility 263 // Indicates that the render view host has received an accessibility
264 // notification. other than the ones covered above. 264 // notification. other than the ones covered above.
265 // The source is the RenderViewHost, the details are not used. 265 // The source is the RenderViewHost, the details are not used.
266 NOTIFICATION_ACCESSIBILITY_OTHER, 266 NOTIFICATION_ACCESSIBILITY_OTHER,
267 267
268 // Child Processes ---------------------------------------------------------
269
270 // This notification is sent when a child process host has connected to a
271 // child process. There is no usable source, since it is sent from an
272 // ephemeral task; register for AllSources() to receive this notification.
273 // The details are in a Details<ChildProcessData>.
274 NOTIFICATION_CHILD_PROCESS_HOST_CONNECTED,
275
276 // This message is sent after a ChildProcessHost is disconnected from the
277 // child process. There is no usable source, since it is sent from an
278 // ephemeral task; register for AllSources() to receive this notification.
279 // The details are in a Details<ChildProcessData>.
280 NOTIFICATION_CHILD_PROCESS_HOST_DISCONNECTED,
281
282 // This message is sent when a child process disappears
283 // unexpectedly as a result of a crash. There is no usable
284 // source, since it is sent from an ephemeral task; register for
285 // AllSources() to receive this notification. The details are in
286 // a Details<ChildProcessData>.
287 NOTIFICATION_CHILD_PROCESS_CRASHED,
288
289 // This message indicates that an instance of a particular child was
290 // created in a page. (If one page contains several regions rendered by
291 // the same child, this notification will occur once for each region
292 // during the page load.)
293 //
294 // There is no usable source, since it is sent from an ephemeral task;
295 // register for AllSources() to receive this notification. The details are
296 // in a Details<ChildProcessData>.
297 NOTIFICATION_CHILD_INSTANCE_CREATED,
298
299 // Miscellaneous ------------------------------------------------------------- 268 // Miscellaneous -------------------------------------------------------------
300 269
301 // Sent before the repost form warning is brought up. 270 // Sent before the repost form warning is brought up.
302 // The source is a NavigationController. 271 // The source is a NavigationController.
303 NOTIFICATION_REPOST_WARNING_SHOWN, 272 NOTIFICATION_REPOST_WARNING_SHOWN,
304 273
305 // Custom notifications used by the embedder should start from here. 274 // Custom notifications used by the embedder should start from here.
306 NOTIFICATION_CONTENT_END, 275 NOTIFICATION_CONTENT_END,
307 }; 276 };
308 277
309 } // namespace content 278 } // namespace content
310 279
311 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ 280 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_child_process_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698