| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 // committed, even if no navigation entry was committed (such as | 113 // committed, even if no navigation entry was committed (such as |
| 114 // AUTO_SUBFRAME navigations). | 114 // AUTO_SUBFRAME navigations). |
| 115 FRAME_PROVISIONAL_LOAD_COMMITTED, | 115 FRAME_PROVISIONAL_LOAD_COMMITTED, |
| 116 | 116 |
| 117 // The DOM for a frame was fully constructed, but referenced resources | 117 // The DOM for a frame was fully constructed, but referenced resources |
| 118 // might not be fully loaded yet. The source is a | 118 // might not be fully loaded yet. The source is a |
| 119 // Source<NavigationController> corresponding to the tab in which the load | 119 // Source<NavigationController> corresponding to the tab in which the load |
| 120 // occurred. Details are the long long frame ID. | 120 // occurred. Details are the long long frame ID. |
| 121 FRAME_DOM_CONTENT_LOADED, | 121 FRAME_DOM_CONTENT_LOADED, |
| 122 | 122 |
| 123 // The frame finished loading. The source is a Source<NavigationController> |
| 124 // corresponding to the tab in which the load occurred. Details are the |
| 125 // long long frame ID. |
| 126 FRAME_DID_FINISH_LOAD, |
| 127 |
| 123 // Content was loaded from an in-memory cache. The source will be a | 128 // Content was loaded from an in-memory cache. The source will be a |
| 124 // Source<NavigationController> corresponding to the tab in which the load | 129 // Source<NavigationController> corresponding to the tab in which the load |
| 125 // occurred. Details in the form of a LoadFromMemoryCacheDetails object | 130 // occurred. Details in the form of a LoadFromMemoryCacheDetails object |
| 126 // are provided. | 131 // are provided. |
| 127 LOAD_FROM_MEMORY_CACHE, | 132 LOAD_FROM_MEMORY_CACHE, |
| 128 | 133 |
| 129 // A provisional content load has failed with an error. The source will be | 134 // A provisional content load has failed with an error. The source will be |
| 130 // a Source<NavigationController> corresponding to the tab in which the | 135 // a Source<NavigationController> corresponding to the tab in which the |
| 131 // load occurred. Details in the form of a ProvisionalLoadDetails object | 136 // load occurred. Details in the form of a ProvisionalLoadDetails object |
| 132 // are provided. | 137 // are provided. |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1274 }; | 1279 }; |
| 1275 | 1280 |
| 1276 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1281 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1277 return a == b.value; | 1282 return a == b.value; |
| 1278 } | 1283 } |
| 1279 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1284 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1280 return a != b.value; | 1285 return a != b.value; |
| 1281 } | 1286 } |
| 1282 | 1287 |
| 1283 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1288 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |