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