| 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 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1222 // AutoFill Notifications -------------------------------------------------- | 1222 // AutoFill Notifications -------------------------------------------------- |
| 1223 | 1223 |
| 1224 // Sent when a popup with AutoFill suggestions is shown in the renderer. | 1224 // Sent when a popup with AutoFill suggestions is shown in the renderer. |
| 1225 // The source is the corresponding RenderViewHost. There are not details. | 1225 // The source is the corresponding RenderViewHost. There are not details. |
| 1226 AUTOFILL_DID_SHOW_SUGGESTIONS, | 1226 AUTOFILL_DID_SHOW_SUGGESTIONS, |
| 1227 | 1227 |
| 1228 // Sent when a form is previewed or filled with AutoFill suggestions. | 1228 // Sent when a form is previewed or filled with AutoFill suggestions. |
| 1229 // The source is the corresponding RenderViewHost. There are not details. | 1229 // The source is the corresponding RenderViewHost. There are not details. |
| 1230 AUTOFILL_DID_FILL_FORM_DATA, | 1230 AUTOFILL_DID_FILL_FORM_DATA, |
| 1231 | 1231 |
| 1232 // Download Notifications -------------------------------------------------- |
| 1233 |
| 1234 // Sent when a download is initiated. It is possible that the download will |
| 1235 // not actually begin due to the DownloadRequestLimiter cancelling it |
| 1236 // prematurely. The source is the RenderViewHostDelegate. There are no |
| 1237 // details. |
| 1238 DOWNLOAD_INITIATED, |
| 1232 | 1239 |
| 1233 // Misc -------------------------------------------------------------------- | 1240 // Misc -------------------------------------------------------------------- |
| 1234 | 1241 |
| 1235 #if defined(OS_CHROMEOS) | 1242 #if defined(OS_CHROMEOS) |
| 1236 // Sent when a chromium os user logs in. | 1243 // Sent when a chromium os user logs in. |
| 1237 LOGIN_USER_CHANGED, | 1244 LOGIN_USER_CHANGED, |
| 1238 | 1245 |
| 1239 // Sent when user image is updated. | 1246 // Sent when user image is updated. |
| 1240 LOGIN_USER_IMAGE_CHANGED, | 1247 LOGIN_USER_IMAGE_CHANGED, |
| 1241 | 1248 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 }; | 1343 }; |
| 1337 | 1344 |
| 1338 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1345 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1339 return a == b.value; | 1346 return a == b.value; |
| 1340 } | 1347 } |
| 1341 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1348 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1342 return a != b.value; | 1349 return a != b.value; |
| 1343 } | 1350 } |
| 1344 | 1351 |
| 1345 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1352 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |