| 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_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 "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 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 NOTIFICATION_TAB_DRAG_LOOP_DONE, | 1090 NOTIFICATION_TAB_DRAG_LOOP_DONE, |
| 1091 #endif | 1091 #endif |
| 1092 | 1092 |
| 1093 // Send when a context menu is shown. Used to notify tests that the context | 1093 // Send when a context menu is shown. Used to notify tests that the context |
| 1094 // menu has been created and shown. | 1094 // menu has been created and shown. |
| 1095 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, | 1095 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_SHOWN, |
| 1096 | 1096 |
| 1097 // Send when a context menu is closed. | 1097 // Send when a context menu is closed. |
| 1098 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, | 1098 NOTIFICATION_RENDER_VIEW_CONTEXT_MENU_CLOSED, |
| 1099 | 1099 |
| 1100 // Sent each time the InstantController is updated. | 1100 // Sent each time a search query is sent to an Instant page. |
| 1101 NOTIFICATION_INSTANT_CONTROLLER_UPDATED, | 1101 NOTIFICATION_INSTANT_UPDATED, |
| 1102 | 1102 |
| 1103 // Sent when an Instant preview is committed. The Source is the WebContents | 1103 // Sent when an Instant overlay is committed. The Source is the WebContents |
| 1104 // containing the committed preview. | 1104 // containing the committed overlay. |
| 1105 NOTIFICATION_INSTANT_COMMITTED, | 1105 NOTIFICATION_INSTANT_COMMITTED, |
| 1106 | 1106 |
| 1107 // Sent when the Instant Controller determines whether the overlay supports | |
| 1108 // the Instant API or not. | |
| 1109 NOTIFICATION_INSTANT_OVERLAY_SUPPORT_DETERMINED, | |
| 1110 | |
| 1111 // Sent when the Instant Controller determines whether the NTP supports the | |
| 1112 // Instant API or not. | |
| 1113 NOTIFICATION_INSTANT_NTP_SUPPORT_DETERMINED, | |
| 1114 | |
| 1115 // Sent when the Instant Controller has sent the Most Visited Items to the | |
| 1116 // renderer. | |
| 1117 NOTIFICATION_INSTANT_SENT_MOST_VISITED_ITEMS, | |
| 1118 | |
| 1119 // Sent when the CaptivePortalService checks if we're behind a captive portal. | 1107 // Sent when the CaptivePortalService checks if we're behind a captive portal. |
| 1120 // The Source is the Profile the CaptivePortalService belongs to, and the | 1108 // The Source is the Profile the CaptivePortalService belongs to, and the |
| 1121 // Details are a Details<CaptivePortalService::CheckResults>. | 1109 // Details are a Details<CaptivePortalService::CheckResults>. |
| 1122 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, | 1110 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, |
| 1123 | 1111 |
| 1124 // Password Store ---------------------------------------------------------- | 1112 // Password Store ---------------------------------------------------------- |
| 1125 // This notification is sent whenenever login entries stored in the password | 1113 // This notification is sent whenenever login entries stored in the password |
| 1126 // store are changed. The detail of this notification is a list of changes | 1114 // store are changed. The detail of this notification is a list of changes |
| 1127 // represented by a vector of PasswordStoreChange. Each change includes a | 1115 // represented by a vector of PasswordStoreChange. Each change includes a |
| 1128 // change type (ADD, UPDATE, or REMOVE) as well as the | 1116 // change type (ADD, UPDATE, or REMOVE) as well as the |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 | 1240 |
| 1253 // Note:- | 1241 // Note:- |
| 1254 // Currently only Content and Chrome define and use notifications. | 1242 // Currently only Content and Chrome define and use notifications. |
| 1255 // Custom notifications not belonging to Content and Chrome should start | 1243 // Custom notifications not belonging to Content and Chrome should start |
| 1256 // from here. | 1244 // from here. |
| 1257 NOTIFICATION_CHROME_END, | 1245 NOTIFICATION_CHROME_END, |
| 1258 }; | 1246 }; |
| 1259 | 1247 |
| 1260 } // namespace chrome | 1248 } // namespace chrome |
| 1261 | 1249 |
| 1262 | |
| 1263 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1250 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |