| 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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1114 NOTIFICATION_LOGINS_CHANGED, | 1114 NOTIFICATION_LOGINS_CHANGED, |
| 1115 | 1115 |
| 1116 // Sent when an import process has ended. | 1116 // Sent when an import process has ended. |
| 1117 NOTIFICATION_IMPORT_FINISHED, | 1117 NOTIFICATION_IMPORT_FINISHED, |
| 1118 | 1118 |
| 1119 // Sent when the applications in the NTP app launcher have been reordered. | 1119 // Sent when the applications in the NTP app launcher have been reordered. |
| 1120 // The details, if not NoDetails, is the std::string ID of the extension that | 1120 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1121 // was moved. | 1121 // was moved. |
| 1122 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 1122 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
| 1123 | 1123 |
| 1124 // Sent when the applications in the app list have been reordered. |
| 1125 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1126 // was moved. |
| 1127 NOTIFICATION_APP_LIST_REORDERED, |
| 1128 |
| 1124 // Sent when an app is installed and an NTP has been shown. Source is the | 1129 // Sent when an app is installed and an NTP has been shown. Source is the |
| 1125 // WebContents that was shown, and Details is the string ID of the extension | 1130 // WebContents that was shown, and Details is the string ID of the extension |
| 1126 // which was installed. | 1131 // which was installed. |
| 1127 NOTIFICATION_APP_INSTALLED_TO_NTP, | 1132 NOTIFICATION_APP_INSTALLED_TO_NTP, |
| 1128 | 1133 |
| 1129 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList | 1134 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList |
| 1130 // about installed app. Source is the profile in which the app is installed | 1135 // about installed app. Source is the profile in which the app is installed |
| 1131 // and Details is the string ID of the extension. | 1136 // and Details is the string ID of the extension. |
| 1132 NOTIFICATION_APP_INSTALLED_TO_APPLIST, | 1137 NOTIFICATION_APP_INSTALLED_TO_APPLIST, |
| 1133 | 1138 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 // Note:- | 1250 // Note:- |
| 1246 // Currently only Content and Chrome define and use notifications. | 1251 // Currently only Content and Chrome define and use notifications. |
| 1247 // Custom notifications not belonging to Content and Chrome should start | 1252 // Custom notifications not belonging to Content and Chrome should start |
| 1248 // from here. | 1253 // from here. |
| 1249 NOTIFICATION_CHROME_END, | 1254 NOTIFICATION_CHROME_END, |
| 1250 }; | 1255 }; |
| 1251 | 1256 |
| 1252 } // namespace chrome | 1257 } // namespace chrome |
| 1253 | 1258 |
| 1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1259 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |