| 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 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 | 1128 |
| 1129 // Sent when the Ash session has started. In its current incantation this is | 1129 // Sent when the Ash session has started. In its current incantation this is |
| 1130 // generated when the metro app has connected to the browser IPC channel. | 1130 // generated when the metro app has connected to the browser IPC channel. |
| 1131 // Used only on Windows. | 1131 // Used only on Windows. |
| 1132 NOTIFICATION_ASH_SESSION_STARTED, | 1132 NOTIFICATION_ASH_SESSION_STARTED, |
| 1133 // Sent when the Ash session ended. Currently this means the metro app exited. | 1133 // Sent when the Ash session ended. Currently this means the metro app exited. |
| 1134 // Used only on Windows. | 1134 // Used only on Windows. |
| 1135 NOTIFICATION_ASH_SESSION_ENDED, | 1135 NOTIFICATION_ASH_SESSION_ENDED, |
| 1136 #endif | 1136 #endif |
| 1137 | 1137 |
| 1138 #if defined(OS_CHROMEOS) | |
| 1139 // Sent when WebSocketProxy started accepting connections; details is integer | |
| 1140 // port on which proxy is listening. | |
| 1141 NOTIFICATION_WEB_SOCKET_PROXY_STARTED, | |
| 1142 #endif | |
| 1143 | |
| 1144 // Sent when a new web store promo has been loaded. | 1138 // Sent when a new web store promo has been loaded. |
| 1145 NOTIFICATION_WEB_STORE_PROMO_LOADED, | 1139 NOTIFICATION_WEB_STORE_PROMO_LOADED, |
| 1146 | 1140 |
| 1147 // Protocol Handler Registry ----------------------------------------------- | 1141 // Protocol Handler Registry ----------------------------------------------- |
| 1148 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile. | 1142 // Sent when a ProtocolHandlerRegistry is changed. The source is the profile. |
| 1149 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED, | 1143 NOTIFICATION_PROTOCOL_HANDLER_REGISTRY_CHANGED, |
| 1150 | 1144 |
| 1151 // Sent when the cached profile info has changed. | 1145 // Sent when the cached profile info has changed. |
| 1152 NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, | 1146 NOTIFICATION_PROFILE_CACHED_INFO_CHANGED, |
| 1153 | 1147 |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 // Note:- | 1230 // Note:- |
| 1237 // Currently only Content and Chrome define and use notifications. | 1231 // Currently only Content and Chrome define and use notifications. |
| 1238 // Custom notifications not belonging to Content and Chrome should start | 1232 // Custom notifications not belonging to Content and Chrome should start |
| 1239 // from here. | 1233 // from here. |
| 1240 NOTIFICATION_CHROME_END, | 1234 NOTIFICATION_CHROME_END, |
| 1241 }; | 1235 }; |
| 1242 | 1236 |
| 1243 } // namespace chrome | 1237 } // namespace chrome |
| 1244 | 1238 |
| 1245 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1239 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |