| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // elements. | 155 // elements. |
| 156 // | 156 // |
| 157 // There is no source or details. | 157 // There is no source or details. |
| 158 NOTIFICATION_SSL_VISIBLE_STATE_CHANGED, | 158 NOTIFICATION_SSL_VISIBLE_STATE_CHANGED, |
| 159 | 159 |
| 160 // The SSL state of the browser has changed in some internal way. For | 160 // The SSL state of the browser has changed in some internal way. For |
| 161 // example, the user might have explicitly allowed some broken certificate | 161 // example, the user might have explicitly allowed some broken certificate |
| 162 // or a secure origin might have included some insecure content. Listen to | 162 // or a secure origin might have included some insecure content. Listen to |
| 163 // this notifiation if you need to keep track of our internal SSL state. | 163 // this notifiation if you need to keep track of our internal SSL state. |
| 164 // | 164 // |
| 165 // The source will be the navigation controller associated with the state | 165 // The source will be the browser context. The details will be the navigation |
| 166 // change. There are no details. | 166 // controller associated with the state change. |
| 167 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, | 167 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, |
| 168 | 168 |
| 169 // The user accepted or dismissed a SSL client authentication request. | 169 // The user accepted or dismissed a SSL client authentication request. |
| 170 // The source is a Source<SSLClientAuthHandler>. Details is a | 170 // The source is a Source<SSLClientAuthHandler>. Details is a |
| 171 // SSLClientAuthNotificationDetails which records specifies which | 171 // SSLClientAuthNotificationDetails which records specifies which |
| 172 // SSLCertRequestInfo the request was for and which X509Certificate was | 172 // SSLCertRequestInfo the request was for and which X509Certificate was |
| 173 // selected (if any). | 173 // selected (if any). |
| 174 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 174 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
| 175 | 175 |
| 176 #if defined(OS_MACOSX) | 176 #if defined(OS_MACOSX) |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 // of a temporary zoom level change, the details is an empty string. | 444 // of a temporary zoom level change, the details is an empty string. |
| 445 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 445 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 446 | 446 |
| 447 // Custom notifications used by the embedder should start from here. | 447 // Custom notifications used by the embedder should start from here. |
| 448 NOTIFICATION_CONTENT_END, | 448 NOTIFICATION_CONTENT_END, |
| 449 }; | 449 }; |
| 450 | 450 |
| 451 } // namespace content | 451 } // namespace content |
| 452 | 452 |
| 453 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 453 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |