| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 scoped_refptr<SiteInstance> source_site_instance; | 120 scoped_refptr<SiteInstance> source_site_instance; |
| 121 | 121 |
| 122 // See LoadURLType comments above. | 122 // See LoadURLType comments above. |
| 123 LoadURLType load_type; | 123 LoadURLType load_type; |
| 124 | 124 |
| 125 // PageTransition for this load. See PageTransition for details. | 125 // PageTransition for this load. See PageTransition for details. |
| 126 // Note the default value in constructor below. | 126 // Note the default value in constructor below. |
| 127 ui::PageTransition transition_type; | 127 ui::PageTransition transition_type; |
| 128 | 128 |
| 129 // The FrameTreeNode ID for the frame to navigate, or -1 for the main frame. | 129 // The FrameTreeNode ID for the frame to navigate, or -1 for the main frame. |
| 130 int64 frame_tree_node_id; | 130 int frame_tree_node_id; |
| 131 | 131 |
| 132 // Referrer for this load. Empty if none. | 132 // Referrer for this load. Empty if none. |
| 133 Referrer referrer; | 133 Referrer referrer; |
| 134 | 134 |
| 135 // Any redirect URLs that occurred for this navigation before |url|. | 135 // Any redirect URLs that occurred for this navigation before |url|. |
| 136 // Defaults to an empty vector. | 136 // Defaults to an empty vector. |
| 137 std::vector<GURL> redirect_chain; | 137 std::vector<GURL> redirect_chain; |
| 138 | 138 |
| 139 // Extra headers for this load, separated by \n. | 139 // Extra headers for this load, separated by \n. |
| 140 std::string extra_headers; | 140 std::string extra_headers; |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 | 463 |
| 464 private: | 464 private: |
| 465 // This interface should only be implemented inside content. | 465 // This interface should only be implemented inside content. |
| 466 friend class NavigationControllerImpl; | 466 friend class NavigationControllerImpl; |
| 467 NavigationController() {} | 467 NavigationController() {} |
| 468 }; | 468 }; |
| 469 | 469 |
| 470 } // namespace content | 470 } // namespace content |
| 471 | 471 |
| 472 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 472 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |