| 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 "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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1239 NOTIFICATION_BROWSING_DATA_REMOVED, | 1239 NOTIFICATION_BROWSING_DATA_REMOVED, |
| 1240 | 1240 |
| 1241 // The user accepted or dismissed a SSL client authentication request. | 1241 // The user accepted or dismissed a SSL client authentication request. |
| 1242 // The source is a Source<net::HttpNetworkSession>. Details is a | 1242 // The source is a Source<net::HttpNetworkSession>. Details is a |
| 1243 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). | 1243 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). |
| 1244 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 1244 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
| 1245 | 1245 |
| 1246 // Blocked content. | 1246 // Blocked content. |
| 1247 // Sent when content changes to or from the blocked state in | 1247 // Sent when content changes to or from the blocked state in |
| 1248 // BlockedContentTabHelper. | 1248 // BlockedContentTabHelper. |
| 1249 // The source is the TabContents of the blocked content and details | 1249 // The source is the WebContents of the blocked content and details |
| 1250 // is a boolean: true if the content is entering the blocked state, false | 1250 // is a boolean: true if the content is entering the blocked state, false |
| 1251 // if it is leaving. | 1251 // if it is leaving. |
| 1252 NOTIFICATION_CONTENT_BLOCKED_STATE_CHANGED, | 1252 NOTIFICATION_CONTENT_BLOCKED_STATE_CHANGED, |
| 1253 | 1253 |
| 1254 // SearchViewController. | 1254 // SearchViewController. |
| 1255 // Sent when animations initiated by search view controller complete. | 1255 // Sent when animations initiated by search view controller complete. |
| 1256 // The source is the SearchViewController whose animation is finished. | 1256 // The source is the SearchViewController whose animation is finished. |
| 1257 // No details. | 1257 // No details. |
| 1258 NOTIFICATION_SEARCH_VIEW_CONTROLLER_ANIMATION_FINISHED, | 1258 NOTIFICATION_SEARCH_VIEW_CONTROLLER_ANIMATION_FINISHED, |
| 1259 | 1259 |
| 1260 // Note:- | 1260 // Note:- |
| 1261 // Currently only Content and Chrome define and use notifications. | 1261 // Currently only Content and Chrome define and use notifications. |
| 1262 // Custom notifications not belonging to Content and Chrome should start | 1262 // Custom notifications not belonging to Content and Chrome should start |
| 1263 // from here. | 1263 // from here. |
| 1264 NOTIFICATION_CHROME_END, | 1264 NOTIFICATION_CHROME_END, |
| 1265 }; | 1265 }; |
| 1266 | 1266 |
| 1267 } // namespace chrome | 1267 } // namespace chrome |
| 1268 | 1268 |
| 1269 | 1269 |
| 1270 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1270 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |