| 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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 142 |
| 143 // The SSL state of the browser has changed in some internal way. For | 143 // The SSL state of the browser has changed in some internal way. For |
| 144 // example, the user might have explicitly allowed some broken certificate | 144 // example, the user might have explicitly allowed some broken certificate |
| 145 // or a secure origin might have included some insecure content. Listen to | 145 // or a secure origin might have included some insecure content. Listen to |
| 146 // this notifiation if you need to keep track of our internal SSL state. | 146 // this notifiation if you need to keep track of our internal SSL state. |
| 147 // | 147 // |
| 148 // The source will be the browser context. The details will be the navigation | 148 // The source will be the browser context. The details will be the navigation |
| 149 // controller associated with the state change. | 149 // controller associated with the state change. |
| 150 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, | 150 NOTIFICATION_SSL_INTERNAL_STATE_CHANGED, |
| 151 | 151 |
| 152 // Application-wide ---------------------------------------------------------- | |
| 153 | |
| 154 // This message is sent when the application is terminating (the last | |
| 155 // browser window has shutdown as part of an explicit user-initiated exit, | |
| 156 // or the user closed the last browser window on Windows/Linux and there are | |
| 157 // no BackgroundContents keeping the browser running). No source or details | |
| 158 // are passed. | |
| 159 NOTIFICATION_APP_TERMINATING, | |
| 160 | |
| 161 // Devtools ------------------------------------------------------------------ | 152 // Devtools ------------------------------------------------------------------ |
| 162 | 153 |
| 163 // Indicates that a devtools agent has attached to a client. The source is | 154 // Indicates that a devtools agent has attached to a client. The source is |
| 164 // the BrowserContext* and the details is the inspected RenderViewHost*. | 155 // the BrowserContext* and the details is the inspected RenderViewHost*. |
| 165 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED, | 156 NOTIFICATION_DEVTOOLS_AGENT_ATTACHED, |
| 166 | 157 |
| 167 // Indicates that a devtools agent has detached from a client. The source is | 158 // Indicates that a devtools agent has detached from a client. The source is |
| 168 // the BrowserContext* and the details is the inspected RenderViewHost*. | 159 // the BrowserContext* and the details is the inspected RenderViewHost*. |
| 169 NOTIFICATION_DEVTOOLS_AGENT_DETACHED, | 160 NOTIFICATION_DEVTOOLS_AGENT_DETACHED, |
| 170 | 161 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 // of a temporary zoom level change, the details is an empty string. | 366 // of a temporary zoom level change, the details is an empty string. |
| 376 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 367 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 377 | 368 |
| 378 // Custom notifications used by the embedder should start from here. | 369 // Custom notifications used by the embedder should start from here. |
| 379 NOTIFICATION_CONTENT_END, | 370 NOTIFICATION_CONTENT_END, |
| 380 }; | 371 }; |
| 381 | 372 |
| 382 } // namespace content | 373 } // namespace content |
| 383 | 374 |
| 384 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 375 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |