Chromium Code Reviews| 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1007 // represented by a vector of PasswordStoreChange. Each change includes a | 1007 // represented by a vector of PasswordStoreChange. Each change includes a |
| 1008 // change type (ADD, UPDATE, or REMOVE) as well as the | 1008 // change type (ADD, UPDATE, or REMOVE) as well as the |
| 1009 // |content::PasswordForm|s that were affected. | 1009 // |content::PasswordForm|s that were affected. |
| 1010 NOTIFICATION_LOGINS_CHANGED, | 1010 NOTIFICATION_LOGINS_CHANGED, |
| 1011 | 1011 |
| 1012 // Sent when the applications in the NTP app launcher have been reordered. | 1012 // Sent when the applications in the NTP app launcher have been reordered. |
| 1013 // The details, if not NoDetails, is the std::string ID of the extension that | 1013 // The details, if not NoDetails, is the std::string ID of the extension that |
| 1014 // was moved. | 1014 // was moved. |
| 1015 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 1015 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
| 1016 | 1016 |
| 1017 // Sent when the applications in the app list have been reordered. | |
| 1018 // The details, if not NoDetails, is the std::string ID of the extension that | |
| 1019 // was moved. | |
| 1020 NOTIFICATION_APP_LIST_REORDERED, | |
|
sky
2013/08/19 15:58:55
Aren't we in the process of nuking NotificationSer
calamity
2013/08/20 05:05:18
Added AppListExtensionSortingObserver.
| |
| 1021 | |
| 1017 // Sent when an app is installed and an NTP has been shown. Source is the | 1022 // Sent when an app is installed and an NTP has been shown. Source is the |
| 1018 // WebContents that was shown, and Details is the string ID of the extension | 1023 // WebContents that was shown, and Details is the string ID of the extension |
| 1019 // which was installed. | 1024 // which was installed. |
| 1020 NOTIFICATION_APP_INSTALLED_TO_NTP, | 1025 NOTIFICATION_APP_INSTALLED_TO_NTP, |
| 1021 | 1026 |
| 1022 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList | 1027 // Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList |
| 1023 // about installed app. Source is the profile in which the app is installed | 1028 // about installed app. Source is the profile in which the app is installed |
| 1024 // and Details is the string ID of the extension. | 1029 // and Details is the string ID of the extension. |
| 1025 NOTIFICATION_APP_INSTALLED_TO_APPLIST, | 1030 NOTIFICATION_APP_INSTALLED_TO_APPLIST, |
| 1026 | 1031 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1129 // Note:- | 1134 // Note:- |
| 1130 // Currently only Content and Chrome define and use notifications. | 1135 // Currently only Content and Chrome define and use notifications. |
| 1131 // Custom notifications not belonging to Content and Chrome should start | 1136 // Custom notifications not belonging to Content and Chrome should start |
| 1132 // from here. | 1137 // from here. |
| 1133 NOTIFICATION_CHROME_END, | 1138 NOTIFICATION_CHROME_END, |
| 1134 }; | 1139 }; |
| 1135 | 1140 |
| 1136 } // namespace chrome | 1141 } // namespace chrome |
| 1137 | 1142 |
| 1138 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1143 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |