| 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 "content/public/browser/notification_types.h" | 8 #include "content/public/browser/notification_types.h" |
| 9 | 9 |
| 10 namespace chrome { | 10 namespace chrome { |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1143 // Sent when the applications in the NTP app launcher have been reordered. | 1143 // Sent when the applications in the NTP app launcher have been reordered. |
| 1144 // The details, if not NoDetails, is the std::string ID of the extension that | 1144 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1145 // was moved. | 1145 // was moved. |
| 1146 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 1146 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
| 1147 | 1147 |
| 1148 // Sent when an app is installed and an NTP has been shown. Source is the | 1148 // Sent when an app is installed and an NTP has been shown. Source is the |
| 1149 // WebContents that was shown, and Details is the string ID of the extension | 1149 // WebContents that was shown, and Details is the string ID of the extension |
| 1150 // which was installed. | 1150 // which was installed. |
| 1151 NOTIFICATION_APP_INSTALLED_TO_NTP, | 1151 NOTIFICATION_APP_INSTALLED_TO_NTP, |
| 1152 | 1152 |
| 1153 #if defined(USE_ASH) | |
| 1154 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList | 1153 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList |
| 1155 // about installed app. Source is the profile in which the app is installed | 1154 // about installed app. Source is the profile in which the app is installed |
| 1156 // and Details is the string ID of the extension. | 1155 // and Details is the string ID of the extension. |
| 1157 NOTIFICATION_APP_INSTALLED_TO_APPLIST, | 1156 NOTIFICATION_APP_INSTALLED_TO_APPLIST, |
| 1158 | 1157 |
| 1158 #if defined(USE_ASH) |
| 1159 // Sent when wallpaper show animation has finished. | 1159 // Sent when wallpaper show animation has finished. |
| 1160 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED, | 1160 NOTIFICATION_WALLPAPER_ANIMATION_FINISHED, |
| 1161 #endif | 1161 #endif |
| 1162 | 1162 |
| 1163 #if defined(OS_CHROMEOS) | 1163 #if defined(OS_CHROMEOS) |
| 1164 // Sent when WebSocketProxy started accepting connections; details is integer | 1164 // Sent when WebSocketProxy started accepting connections; details is integer |
| 1165 // port on which proxy is listening. | 1165 // port on which proxy is listening. |
| 1166 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, | 1166 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, |
| 1167 #endif | 1167 #endif |
| 1168 | 1168 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 // Currently only Content and Chrome define and use notifications. | 1252 // Currently only Content and Chrome define and use notifications. |
| 1253 // Custom notifications not belonging to Content and Chrome should start | 1253 // Custom notifications not belonging to Content and Chrome should start |
| 1254 // from here. | 1254 // from here. |
| 1255 NOTIFICATION_CHROME_END, | 1255 NOTIFICATION_CHROME_END, |
| 1256 }; | 1256 }; |
| 1257 | 1257 |
| 1258 } // namespace chrome | 1258 } // namespace chrome |
| 1259 | 1259 |
| 1260 | 1260 |
| 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1261 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |