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_NAVIGATION_DETAILS_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_DETAILS_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_DETAILS_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_DETAILS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/public/browser/navigation_type.h" | 10 #include "content/public/browser/navigation_type.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 | 14 |
15 class NavigationEntry; | 15 class NavigationEntry; |
16 | 16 |
17 // Provides the details for a NOTIFICATION_NAV_ENTRY_COMMITTED notification. | 17 // Provides the details for a NOTIFICATION_NAV_ENTRY_COMMITTED notification. |
18 // TODO(brettw) this mostly duplicates ProvisionalLoadDetails, it would be | 18 // TODO(brettw) this mostly duplicates ProvisionalLoadDetails, it would be |
19 // nice to unify these somehow. | 19 // nice to unify these somehow. |
20 struct CONTENT_EXPORT LoadCommittedDetails { | 20 struct CONTENT_EXPORT LoadCommittedDetails { |
21 // By default, the entry will be filled according to a new main frame | 21 // By default, the entry will be filled according to a new main frame |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // count items were removed from the back of the list. | 81 // count items were removed from the back of the list. |
82 bool from_front; | 82 bool from_front; |
83 | 83 |
84 // Number of items removed. | 84 // Number of items removed. |
85 int count; | 85 int count; |
86 }; | 86 }; |
87 | 87 |
88 } // namespace content | 88 } // namespace content |
89 | 89 |
90 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_DETAILS_H_ | 90 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_DETAILS_H_ |
OLD | NEW |