| 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 // The FrameTreeNode ID for the frame to navigate, or -1 for the main frame. |
| 120 int64 frame_tree_node_id; |
| 121 |
| 119 // Referrer for this load. Empty if none. | 122 // Referrer for this load. Empty if none. |
| 120 Referrer referrer; | 123 Referrer referrer; |
| 121 | 124 |
| 122 // Any redirect URLs that occurred for this navigation before |url|. | 125 // Any redirect URLs that occurred for this navigation before |url|. |
| 123 // Defaults to an empty vector. | 126 // Defaults to an empty vector. |
| 124 std::vector<GURL> redirect_chain; | 127 std::vector<GURL> redirect_chain; |
| 125 | 128 |
| 126 // Extra headers for this load, separated by \n. | 129 // Extra headers for this load, separated by \n. |
| 127 std::string extra_headers; | 130 std::string extra_headers; |
| 128 | 131 |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 | 443 |
| 441 private: | 444 private: |
| 442 // This interface should only be implemented inside content. | 445 // This interface should only be implemented inside content. |
| 443 friend class NavigationControllerImpl; | 446 friend class NavigationControllerImpl; |
| 444 NavigationController() {} | 447 NavigationController() {} |
| 445 }; | 448 }; |
| 446 | 449 |
| 447 } // namespace content | 450 } // namespace content |
| 448 | 451 |
| 449 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ | 452 #endif // CONTENT_PUBLIC_BROWSER_NAVIGATION_CONTROLLER_H_ |
| OLD | NEW |