| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 | 942 |
| 943 // The sync service is finished the configuration process. | 943 // The sync service is finished the configuration process. |
| 944 SYNC_CONFIGURE_DONE, | 944 SYNC_CONFIGURE_DONE, |
| 945 | 945 |
| 946 // Cookies ----------------------------------------------------------------- | 946 // Cookies ----------------------------------------------------------------- |
| 947 | 947 |
| 948 // Sent when a cookie changes. The source is a Profile object, the details | 948 // Sent when a cookie changes. The source is a Profile object, the details |
| 949 // are a ChromeCookieDetails object. | 949 // are a ChromeCookieDetails object. |
| 950 COOKIE_CHANGED, | 950 COOKIE_CHANGED, |
| 951 | 951 |
| 952 // Downloads --------------------------------------------------------------- |
| 953 |
| 954 // Sent when the download shelf appears or disappears. The source is the |
| 955 // Browser object. |
| 956 DOWNLOAD_SHELF_VISIBILITY_CHANGED, |
| 957 |
| 952 #if defined(OS_CHROMEOS) | 958 #if defined(OS_CHROMEOS) |
| 953 // Sent when a chromium os user logs in. | 959 // Sent when a chromium os user logs in. |
| 954 LOGIN_USER_CHANGED, | 960 LOGIN_USER_CHANGED, |
| 955 | 961 |
| 956 // Sent when user image is updated. | 962 // Sent when user image is updated. |
| 957 LOGIN_USER_IMAGE_CHANGED, | 963 LOGIN_USER_IMAGE_CHANGED, |
| 958 | 964 |
| 959 // Sent when a chromium os user attempts to log in. The source is | 965 // Sent when a chromium os user attempts to log in. The source is |
| 960 // all and the details are AuthenticationNotificationDetails. | 966 // all and the details are AuthenticationNotificationDetails. |
| 961 LOGIN_AUTHENTICATION, | 967 LOGIN_AUTHENTICATION, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1006 }; | 1012 }; |
| 1007 | 1013 |
| 1008 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1014 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1009 return a == b.value; | 1015 return a == b.value; |
| 1010 } | 1016 } |
| 1011 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1017 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1012 return a != b.value; | 1018 return a != b.value; |
| 1013 } | 1019 } |
| 1014 | 1020 |
| 1015 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1021 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |