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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 // Sent when the CaptivePortalService checks if we're behind a captive portal. | 941 // Sent when the CaptivePortalService checks if we're behind a captive portal. |
942 // The Source is the Profile the CaptivePortalService belongs to, and the | 942 // The Source is the Profile the CaptivePortalService belongs to, and the |
943 // Details are a Details<CaptivePortalService::CheckResults>. | 943 // Details are a Details<CaptivePortalService::CheckResults>. |
944 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, | 944 NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT, |
945 | 945 |
946 // Password Store ---------------------------------------------------------- | 946 // Password Store ---------------------------------------------------------- |
947 // This notification is sent whenenever login entries stored in the password | 947 // This notification is sent whenenever login entries stored in the password |
948 // store are changed. The detail of this notification is a list of changes | 948 // store are changed. The detail of this notification is a list of changes |
949 // represented by a vector of PasswordStoreChange. Each change includes a | 949 // represented by a vector of PasswordStoreChange. Each change includes a |
950 // change type (ADD, UPDATE, or REMOVE) as well as the | 950 // change type (ADD, UPDATE, or REMOVE) as well as the |
951 // |content::PasswordForm|s that were affected. | 951 // |autofill::PasswordForm|s that were affected. |
952 NOTIFICATION_LOGINS_CHANGED, | 952 NOTIFICATION_LOGINS_CHANGED, |
953 | 953 |
954 // Sent when the applications in the NTP app launcher have been reordered. | 954 // Sent when the applications in the NTP app launcher have been reordered. |
955 // The details, if not NoDetails, is the std::string ID of the extension that | 955 // The details, if not NoDetails, is the std::string ID of the extension that |
956 // was moved. | 956 // was moved. |
957 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, | 957 NOTIFICATION_EXTENSION_LAUNCHER_REORDERED, |
958 | 958 |
959 // Sent when an app is installed and an NTP has been shown. Source is the | 959 // Sent when an app is installed and an NTP has been shown. Source is the |
960 // WebContents that was shown, and Details is the string ID of the extension | 960 // WebContents that was shown, and Details is the string ID of the extension |
961 // which was installed. | 961 // which was installed. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 // Note:- | 1071 // Note:- |
1072 // Currently only Content and Chrome define and use notifications. | 1072 // Currently only Content and Chrome define and use notifications. |
1073 // Custom notifications not belonging to Content and Chrome should start | 1073 // Custom notifications not belonging to Content and Chrome should start |
1074 // from here. | 1074 // from here. |
1075 NOTIFICATION_CHROME_END, | 1075 NOTIFICATION_CHROME_END, |
1076 }; | 1076 }; |
1077 | 1077 |
1078 } // namespace chrome | 1078 } // namespace chrome |
1079 | 1079 |
1080 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1080 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |