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