OLD | NEW |
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 CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
977 // The source is the Panel, no details. | 977 // The source is the Panel, no details. |
978 // Used only in coordination with notification balloons. | 978 // Used only in coordination with notification balloons. |
979 NOTIFICATION_PANEL_REMOVED, | 979 NOTIFICATION_PANEL_REMOVED, |
980 | 980 |
981 // Sent when a global error has changed and the error UI should update it | 981 // Sent when a global error has changed and the error UI should update it |
982 // self. The source is a Source<Profile> containing the profile for the | 982 // self. The source is a Source<Profile> containing the profile for the |
983 // error. The detail is a GlobalError object that has changed or NULL if | 983 // error. The detail is a GlobalError object that has changed or NULL if |
984 // all error UIs should update. | 984 // all error UIs should update. |
985 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 985 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
986 | 986 |
| 987 // BrowsingDataRemover ---------------------------------------------------- |
| 988 // Sent on the UI thread after BrowsingDataRemover has removed browsing data |
| 989 // but before it has notified its explicit observers. The source is a |
| 990 // Source<Profile> containing the profile in which browsing data was removed, |
| 991 // and the detail is a BrowsingDataRemover::NotificationDetail containing the |
| 992 // removal mask and the start of the removal timeframe with which |
| 993 // BrowsingDataRemove::Remove was called. |
| 994 NOTIFICATION_BROWSING_DATA_REMOVED, |
| 995 |
987 // Note:- | 996 // Note:- |
988 // Currently only Content and Chrome define and use notifications. | 997 // Currently only Content and Chrome define and use notifications. |
989 // Custom notifications not belonging to Content and Chrome should start | 998 // Custom notifications not belonging to Content and Chrome should start |
990 // from here. | 999 // from here. |
991 NOTIFICATION_CHROME_END, | 1000 NOTIFICATION_CHROME_END, |
992 }; | 1001 }; |
993 | 1002 |
994 } // namespace chrome | 1003 } // namespace chrome |
995 | 1004 |
996 | 1005 |
997 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1006 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |