| 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 25 matching lines...) Expand all Loading... |
| 36 // NavigationController ---------------------------------------------------- | 36 // NavigationController ---------------------------------------------------- |
| 37 | 37 |
| 38 // A new pending navigation has been created. Pending entries are created | 38 // A new pending navigation has been created. Pending entries are created |
| 39 // when the user requests the navigation. We don't know if it will actually | 39 // when the user requests the navigation. We don't know if it will actually |
| 40 // happen until it does (at this point, it will be "committed." Note that | 40 // happen until it does (at this point, it will be "committed." Note that |
| 41 // renderer- initiated navigations such as link clicks will never be | 41 // renderer- initiated navigations such as link clicks will never be |
| 42 // pending. | 42 // pending. |
| 43 // | 43 // |
| 44 // This notification is called after the pending entry is created, but | 44 // This notification is called after the pending entry is created, but |
| 45 // before we actually try to navigate. The source will be the | 45 // before we actually try to navigate. The source will be the |
| 46 // NavigationController that owns the pending entry, and there are no | 46 // NavigationController that owns the pending entry, and the details |
| 47 // details. | 47 // will be a NavigationEntry. |
| 48 NOTIFICATION_NAV_ENTRY_PENDING, | 48 NOTIFICATION_NAV_ENTRY_PENDING, |
| 49 | 49 |
| 50 // A new non-pending navigation entry has been created. This will | 50 // A new non-pending navigation entry has been created. This will |
| 51 // correspond to one NavigationController entry being created (in the case | 51 // correspond to one NavigationController entry being created (in the case |
| 52 // of new navigations) or renavigated to (for back/forward navigations). | 52 // of new navigations) or renavigated to (for back/forward navigations). |
| 53 // | 53 // |
| 54 // The source will be the navigation controller doing the commit. The | 54 // The source will be the navigation controller doing the commit. The |
| 55 // details will be NavigationController::LoadCommittedDetails. | 55 // details will be NavigationController::LoadCommittedDetails. |
| 56 NOTIFICATION_NAV_ENTRY_COMMITTED, | 56 NOTIFICATION_NAV_ENTRY_COMMITTED, |
| 57 | 57 |
| (...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 // of a temporary zoom level change, the details is an empty string. | 445 // of a temporary zoom level change, the details is an empty string. |
| 446 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 446 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 447 | 447 |
| 448 // Custom notifications used by the embedder should start from here. | 448 // Custom notifications used by the embedder should start from here. |
| 449 NOTIFICATION_CONTENT_END, | 449 NOTIFICATION_CONTENT_END, |
| 450 }; | 450 }; |
| 451 | 451 |
| 452 } // namespace content | 452 } // namespace content |
| 453 | 453 |
| 454 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 454 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |