| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 // AutoFill Notifications -------------------------------------------------- | 1213 // AutoFill Notifications -------------------------------------------------- |
| 1214 | 1214 |
| 1215 // Sent when a popup with AutoFill suggestions is shown in the renderer. | 1215 // Sent when a popup with AutoFill suggestions is shown in the renderer. |
| 1216 // The source is the corresponding RenderViewHost. There are not details. | 1216 // The source is the corresponding RenderViewHost. There are not details. |
| 1217 AUTOFILL_DID_SHOW_SUGGESTIONS, | 1217 AUTOFILL_DID_SHOW_SUGGESTIONS, |
| 1218 | 1218 |
| 1219 // Sent when a form is previewed or filled with AutoFill suggestions. | 1219 // Sent when a form is previewed or filled with AutoFill suggestions. |
| 1220 // The source is the corresponding RenderViewHost. There are not details. | 1220 // The source is the corresponding RenderViewHost. There are not details. |
| 1221 AUTOFILL_DID_FILL_FORM_DATA, | 1221 AUTOFILL_DID_FILL_FORM_DATA, |
| 1222 | 1222 |
| 1223 // Download Notifications -------------------------------------------------- |
| 1224 |
| 1225 // Sent when a download is initiated. It is possible that the download will |
| 1226 // not actually begin due to the DownloadRequestLimiter cancelling it |
| 1227 // prematurely. |
| 1228 // The source is the corresponding RenderViewHost. There are no details. |
| 1229 DOWNLOAD_INITIATED, |
| 1223 | 1230 |
| 1224 // Misc -------------------------------------------------------------------- | 1231 // Misc -------------------------------------------------------------------- |
| 1225 | 1232 |
| 1226 #if defined(OS_CHROMEOS) | 1233 #if defined(OS_CHROMEOS) |
| 1227 // Sent when a chromium os user logs in. | 1234 // Sent when a chromium os user logs in. |
| 1228 LOGIN_USER_CHANGED, | 1235 LOGIN_USER_CHANGED, |
| 1229 | 1236 |
| 1230 // Sent when user image is updated. | 1237 // Sent when user image is updated. |
| 1231 LOGIN_USER_IMAGE_CHANGED, | 1238 LOGIN_USER_IMAGE_CHANGED, |
| 1232 | 1239 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1327 }; | 1334 }; |
| 1328 | 1335 |
| 1329 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1336 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1330 return a == b.value; | 1337 return a == b.value; |
| 1331 } | 1338 } |
| 1332 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1339 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1333 return a != b.value; | 1340 return a != b.value; |
| 1334 } | 1341 } |
| 1335 | 1342 |
| 1336 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1343 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |