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_CONTROLLER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // The url to load. This field is required. | 109 // The url to load. This field is required. |
110 GURL url; | 110 GURL url; |
111 | 111 |
112 // See LoadURLType comments above. | 112 // See LoadURLType comments above. |
113 LoadURLType load_type; | 113 LoadURLType load_type; |
114 | 114 |
115 // PageTransition for this load. See PageTransition for details. | 115 // PageTransition for this load. See PageTransition for details. |
116 // Note the default value in constructor below. | 116 // Note the default value in constructor below. |
117 PageTransition transition_type; | 117 PageTransition transition_type; |
118 | 118 |
| 119 int64 frame_tree_node_id; |
| 120 |
119 // Referrer for this load. Empty if none. | 121 // Referrer for this load. Empty if none. |
120 Referrer referrer; | 122 Referrer referrer; |
121 | 123 |
122 // Any redirect URLs that occurred for this navigation before |url|. | 124 // Any redirect URLs that occurred for this navigation before |url|. |
123 // Defaults to an empty vector. | 125 // Defaults to an empty vector. |
124 std::vector<GURL> redirect_chain; | 126 std::vector<GURL> redirect_chain; |
125 | 127 |
126 // Extra headers for this load, separated by \n. | 128 // Extra headers for this load, separated by \n. |
127 std::string extra_headers; | 129 std::string extra_headers; |
128 | 130 |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 | 442 |
441 private: | 443 private: |
442 // This interface should only be implemented inside content. | 444 // This interface should only be implemented inside content. |
443 friend class NavigationControllerImpl; | 445 friend class NavigationControllerImpl; |
444 NavigationController() {} | 446 NavigationController() {} |
445 }; | 447 }; |
446 | 448 |
447 } // namespace content | 449 } // namespace content |
448 | 450 |
449 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 451 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
OLD | NEW |