| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1122 NOTIFICATION_LOGINS_CHANGED, | 1122 NOTIFICATION_LOGINS_CHANGED, |
| 1123 | 1123 |
| 1124 // Sent when an import process has ended. | 1124 // Sent when an import process has ended. |
| 1125 NOTIFICATION_IMPORT_FINISHED, | 1125 NOTIFICATION_IMPORT_FINISHED, |
| 1126 | 1126 |
| 1127 // Sent when the applications in the NTP app launcher have been reordered. | 1127 // Sent when the applications in the NTP app launcher have been reordered. |
| 1128 // The details, if not NoDetails, is the std::string ID of the extension that | 1128 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1129 // was moved. | 1129 // was moved. |
| 1130 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 1130 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
| 1131 | 1131 |
| 1132 // Sent when the applications in the app list have been reordered. |
| 1133 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1134 // was moved. |
| 1135 NOTIFICATION_APP_LIST_REORDERED, |
| 1136 |
| 1132 // Sent when an app is installed and an NTP has been shown. Source is the | 1137 // Sent when an app is installed and an NTP has been shown. Source is the |
| 1133 // WebContents that was shown, and Details is the string ID of the extension | 1138 // WebContents that was shown, and Details is the string ID of the extension |
| 1134 // which was installed. | 1139 // which was installed. |
| 1135 NOTIFICATION_APP_INSTALLED_TO_NTP, | 1140 NOTIFICATION_APP_INSTALLED_TO_NTP, |
| 1136 | 1141 |
| 1137 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList | 1142 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList |
| 1138 // about installed app. Source is the profile in which the app is installed | 1143 // about installed app. Source is the profile in which the app is installed |
| 1139 // and Details is the string ID of the extension. | 1144 // and Details is the string ID of the extension. |
| 1140 NOTIFICATION_APP_INSTALLED_TO_APPLIST, | 1145 NOTIFICATION_APP_INSTALLED_TO_APPLIST, |
| 1141 | 1146 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 // Note:- | 1258 // Note:- |
| 1254 // Currently only Content and Chrome define and use notifications. | 1259 // Currently only Content and Chrome define and use notifications. |
| 1255 // Custom notifications not belonging to Content and Chrome should start | 1260 // Custom notifications not belonging to Content and Chrome should start |
| 1256 // from here. | 1261 // from here. |
| 1257 NOTIFICATION_CHROME_END, | 1262 NOTIFICATION_CHROME_END, |
| 1258 }; | 1263 }; |
| 1259 | 1264 |
| 1260 } // namespace chrome | 1265 } // namespace chrome |
| 1261 | 1266 |
| 1262 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1267 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |