OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 // Sent when the CaptivePortalService checks if we're behind a captive portal. | 1141 // Sent when the CaptivePortalService checks if we're behind a captive portal. |
1142 // The Source is the Profile the CaptivePortalService belongs to, and the | 1142 // The Source is the Profile the CaptivePortalService belongs to, and the |
1143 // Details are a Details<CaptivePortalService::CheckResults>. | 1143 // Details are a Details<CaptivePortalService::CheckResults>. |
1144 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, | 1144 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, |
1145 | 1145 |
1146 // Password Store ---------------------------------------------------------- | 1146 // Password Store ---------------------------------------------------------- |
1147 // This notification is sent whenenever login entries stored in the password | 1147 // This notification is sent whenenever login entries stored in the password |
1148 // store are changed. The detail of this notification is a list of changes | 1148 // store are changed. The detail of this notification is a list of changes |
1149 // represented by a vector of PasswordStoreChange. Each change includes a | 1149 // represented by a vector of PasswordStoreChange. Each change includes a |
1150 // change type (ADD, UPDATE, or REMOVE) as well as the | 1150 // change type (ADD, UPDATE, or REMOVE) as well as the |
1151 // |webkit::forms::PasswordForm|s that were affected. | 1151 // |content::PasswordForm|s that were affected. |
1152 NOTIFICATION_LOGINS_CHANGED, | 1152 NOTIFICATION_LOGINS_CHANGED, |
1153 | 1153 |
1154 // Sent when an import process has ended. | 1154 // Sent when an import process has ended. |
1155 NOTIFICATION_IMPORT_FINISHED, | 1155 NOTIFICATION_IMPORT_FINISHED, |
1156 | 1156 |
1157 // Sent when the applications in the NTP app launcher have been reordered. | 1157 // Sent when the applications in the NTP app launcher have been reordered. |
1158 // The details, if not NoDetails, is the std::string ID of the extension that | 1158 // The details, if not NoDetails, is the std::string ID of the extension that |
1159 // was moved. | 1159 // was moved. |
1160 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 1160 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
1161 | 1161 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 // Currently only Content and Chrome define and use notifications. | 1272 // Currently only Content and Chrome define and use notifications. |
1273 // Custom notifications not belonging to Content and Chrome should start | 1273 // Custom notifications not belonging to Content and Chrome should start |
1274 // from here. | 1274 // from here. |
1275 NOTIFICATION_CHROME_END, | 1275 NOTIFICATION_CHROME_END, |
1276 }; | 1276 }; |
1277 | 1277 |
1278 } // namespace chrome | 1278 } // namespace chrome |
1279 | 1279 |
1280 | 1280 |
1281 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1281 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |