| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_COMMON_NOTIFICATION_TYPE_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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // this notifiation if you need to keep track of our internal SSL state. | 150 // this notifiation if you need to keep track of our internal SSL state. |
| 151 // | 151 // |
| 152 // The source will be the navigation controller associated with the state | 152 // The source will be the navigation controller associated with the state |
| 153 // change. There are no details. | 153 // change. There are no details. |
| 154 SSL_INTERNAL_STATE_CHANGED, | 154 SSL_INTERNAL_STATE_CHANGED, |
| 155 | 155 |
| 156 // Download start and stop notifications. Stop notifications can occur on | 156 // Download start and stop notifications. Stop notifications can occur on |
| 157 // both normal completion or via a cancel operation. | 157 // both normal completion or via a cancel operation. |
| 158 DOWNLOAD_START, DOWNLOAD_STOP, | 158 DOWNLOAD_START, DOWNLOAD_STOP, |
| 159 | 159 |
| 160 // Lets resource handlers and other interested observers know when the |
| 161 // message filter is being deleted and can no longer be used. |
| 162 RESOURCE_MESSAGE_FILTER_SHUTDOWN, |
| 163 |
| 160 // Views ------------------------------------------------------------------- | 164 // Views ------------------------------------------------------------------- |
| 161 | 165 |
| 162 // Notification that a view was removed from a view hierarchy. The source | 166 // Notification that a view was removed from a view hierarchy. The source |
| 163 // is the view, the details is the parent view. | 167 // is the view, the details is the parent view. |
| 164 VIEW_REMOVED, | 168 VIEW_REMOVED, |
| 165 | 169 |
| 166 // Browser-window ---------------------------------------------------------- | 170 // Browser-window ---------------------------------------------------------- |
| 167 | 171 |
| 168 // This message is sent after a window has been opened. The source is a | 172 // This message is sent after a window has been opened. The source is a |
| 169 // Source<Browser> with a pointer to the new window. No details are | 173 // Source<Browser> with a pointer to the new window. No details are |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 }; | 558 }; |
| 555 | 559 |
| 556 inline bool operator==(NotificationType::Type a, NotificationType b) { | 560 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 557 return a == b.value; | 561 return a == b.value; |
| 558 } | 562 } |
| 559 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 563 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 560 return a != b.value; | 564 return a != b.value; |
| 561 } | 565 } |
| 562 | 566 |
| 563 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 567 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |