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

Side by Side Diff: chrome/common/notification_type.h

Issue 66069: Don't overload the meaning of the RENDERER_PROCESS_TERMINATED notification, i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/browser/tab_contents/site_instance.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 TAB_CONTENTS_DESTROYED, 265 TAB_CONTENTS_DESTROYED,
266 266
267 // Stuff inside the tabs --------------------------------------------------- 267 // Stuff inside the tabs ---------------------------------------------------
268 268
269 // This message is sent after a constrained window has been closed. The 269 // This message is sent after a constrained window has been closed. The
270 // source is a Source<ConstrainedWindow> with a pointer to the closed child 270 // source is a Source<ConstrainedWindow> with a pointer to the closed child
271 // window. (The pointer isn't usable, except for identification.) No 271 // window. (The pointer isn't usable, except for identification.) No
272 // details are expected. 272 // details are expected.
273 CWINDOW_CLOSED, 273 CWINDOW_CLOSED,
274 274
275 // Indicates that a render process has terminated. The source will be the 275 // Indicates that a RenderProcessHost is destructing. The source will be the
276 // RenderProcessHost that corresponds to the process, and the details is a 276 // RenderProcessHost that corresponds to the process.
277 // bool specifying whether the termination was expected, i.e. if false it
278 // means the process crashed.
279 RENDERER_PROCESS_TERMINATED, 277 RENDERER_PROCESS_TERMINATED,
280 278
279 // Indicates that a render process has crashed. The source will be the
280 // corresponding RenderProcessHost.
281 RENDERER_PROCESS_CRASHED,
282
281 // Indicates that a render process has become unresponsive for a period of 283 // Indicates that a render process has become unresponsive for a period of
282 // time. The source will be the RenderWidgetHost that corresponds to the 284 // time. The source will be the RenderWidgetHost that corresponds to the
283 // hung view, and no details are expected. 285 // hung view, and no details are expected.
284 RENDERER_PROCESS_HANG, 286 RENDERER_PROCESS_HANG,
285 287
286 // Indicates that a render process is created in the sandbox. The source 288 // Indicates that a render process is created in the sandbox. The source
287 // will be the RenderProcessHost that corresponds to the created process 289 // will be the RenderProcessHost that corresponds to the created process
288 // and the detail is a bool telling us if the process got created on the 290 // and the detail is a bool telling us if the process got created on the
289 // sandbox desktop or not. 291 // sandbox desktop or not.
290 RENDERER_PROCESS_IN_SBOX, 292 RENDERER_PROCESS_IN_SBOX,
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 }; 554 };
553 555
554 inline bool operator==(NotificationType::Type a, NotificationType b) { 556 inline bool operator==(NotificationType::Type a, NotificationType b) {
555 return a == b.value; 557 return a == b.value;
556 } 558 }
557 inline bool operator!=(NotificationType::Type a, NotificationType b) { 559 inline bool operator!=(NotificationType::Type a, NotificationType b) {
558 return a != b.value; 560 return a != b.value;
559 } 561 }
560 562
561 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 563 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/site_instance.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698