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