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

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

Issue 479: DidNavigate refactor of doom (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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
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 // This file describes various types used to describe and filter notifications 5 // This file describes various types used to describe and filter notifications
6 // that pass through the NotificationService. 6 // that pass through the NotificationService.
7 7
8 #ifndef CHROME_COMMON_NOTIFICATION_TYPES_H__ 8 #ifndef CHROME_COMMON_NOTIFICATION_TYPES_H__
9 #define CHROME_COMMON_NOTIFICATION_TYPES_H__ 9 #define CHROME_COMMON_NOTIFICATION_TYPES_H__
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // The details are an integer indicating the number of items pruned. 60 // The details are an integer indicating the number of items pruned.
61 // Watch out: the NavigationController may start throwing entries away once 61 // Watch out: the NavigationController may start throwing entries away once
62 // the list is a certain size, so you can't use the current size of the 62 // the list is a certain size, so you can't use the current size of the
63 // navigation list to tell how many items were pruned, you have to use the 63 // navigation list to tell how many items were pruned, you have to use the
64 // details provided here. 64 // details provided here.
65 NOTIFY_NAV_LIST_PRUNED, 65 NOTIFY_NAV_LIST_PRUNED,
66 66
67 // Indicates that a NavigationEntry has changed. The source will be the 67 // Indicates that a NavigationEntry has changed. The source will be the
68 // NavigationController that owns the NavigationEntry. The details will be 68 // NavigationController that owns the NavigationEntry. The details will be
69 // a NavigationController::EntryChangedDetails struct. 69 // a NavigationController::EntryChangedDetails struct.
70 //
71 // This will NOT be sent on navigation, interested parties should also listen
72 // for NOTIFY_NAV_ENTRY_COMMITTED to handle that case. This will be sent when
73 // the entry is updated outside of navigation (like when a new title comes).
70 NOTIFY_NAV_ENTRY_CHANGED, 74 NOTIFY_NAV_ENTRY_CHANGED,
71 75
72 // Other load-related (not from NavigationController) ------------------------ 76 // Other load-related (not from NavigationController) ------------------------
73 77
74 // A content load is starting. The source will be a 78 // A content load is starting. The source will be a
75 // Source<NavigationController> corresponding to the tab 79 // Source<NavigationController> corresponding to the tab
76 // in which the load is occurring. No details are 80 // in which the load is occurring. No details are
77 // expected for this notification. 81 // expected for this notification.
78 NOTIFY_LOAD_START, 82 NOTIFY_LOAD_START,
79 83
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 NOTIFY_PERSONALIZATION, 474 NOTIFY_PERSONALIZATION,
471 475
472 // Count (must be last) ------------------------------------------------------ 476 // Count (must be last) ------------------------------------------------------
473 // Used to determine the number of notification types. Not valid as 477 // Used to determine the number of notification types. Not valid as
474 // a type parameter when registering for or posting notifications. 478 // a type parameter when registering for or posting notifications.
475 NOTIFICATION_TYPE_COUNT 479 NOTIFICATION_TYPE_COUNT
476 }; 480 };
477 481
478 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__ 482 #endif // CHROME_COMMON_NOTIFICATION_TYPES_H__
479 483
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698