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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 | 1090 |
1091 // Send when a context menu is closed. | 1091 // Send when a context menu is closed. |
1092 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, | 1092 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, |
1093 | 1093 |
1094 // Sent each time the InstantController is updated. | 1094 // Sent each time the InstantController is updated. |
1095 NOTIFICATION_INSTANT_CONTROLLER_UPDATED, | 1095 NOTIFICATION_INSTANT_CONTROLLER_UPDATED, |
1096 | 1096 |
1097 // Sent each time the InstantController shows the InstantLoader. | 1097 // Sent each time the InstantController shows the InstantLoader. |
1098 NOTIFICATION_INSTANT_CONTROLLER_SHOWN, | 1098 NOTIFICATION_INSTANT_CONTROLLER_SHOWN, |
1099 | 1099 |
1100 // Sent when an Instant preview is committed. The Source is the | 1100 // Sent each time the InstantController hides the InstantLoader. |
1101 // TabContents containing the committed preview. There are no details. | 1101 NOTIFICATION_INSTANT_CONTROLLER_HIDDEN, |
| 1102 |
| 1103 // Sent when an Instant preview is committed. The Source is the TabContents |
| 1104 // containing the committed preview. There are no details. |
1102 NOTIFICATION_INSTANT_COMMITTED, | 1105 NOTIFICATION_INSTANT_COMMITTED, |
1103 | 1106 |
1104 // Sent when the instant loader determines whether the page supports the | 1107 // Sent when the Instant loader determines whether the page supports the |
1105 // instant API or not. The details is a boolean indicating if the page | 1108 // Instant API or not. The details is a boolean indicating if the page |
1106 // supports instant. The source is not used. | 1109 // supports Instant. The source is not used. |
1107 NOTIFICATION_INSTANT_SUPPORT_DETERMINED, | 1110 NOTIFICATION_INSTANT_SUPPORT_DETERMINED, |
1108 | 1111 |
1109 // Sent when the CaptivePortalService checks if we're behind a captive portal. | 1112 // Sent when the CaptivePortalService checks if we're behind a captive portal. |
1110 // The Source is the Profile the CaptivePortalService belongs to, and the | 1113 // The Source is the Profile the CaptivePortalService belongs to, and the |
1111 // Details are a Details<CaptivePortalService::CheckResults>. | 1114 // Details are a Details<CaptivePortalService::CheckResults>. |
1112 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, | 1115 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, |
1113 | 1116 |
1114 // Password Store ---------------------------------------------------------- | 1117 // Password Store ---------------------------------------------------------- |
1115 // This notification is sent whenenever login entries stored in the password | 1118 // This notification is sent whenenever login entries stored in the password |
1116 // store are changed. The detail of this notification is a list of changes | 1119 // store are changed. The detail of this notification is a list of changes |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 // Currently only Content and Chrome define and use notifications. | 1237 // Currently only Content and Chrome define and use notifications. |
1235 // Custom notifications not belonging to Content and Chrome should start | 1238 // Custom notifications not belonging to Content and Chrome should start |
1236 // from here. | 1239 // from here. |
1237 NOTIFICATION_CHROME_END, | 1240 NOTIFICATION_CHROME_END, |
1238 }; | 1241 }; |
1239 | 1242 |
1240 } // namespace chrome | 1243 } // namespace chrome |
1241 | 1244 |
1242 | 1245 |
1243 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1246 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |