| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NAVIGATION_PARAMS_H_ | 5 #ifndef CONTENT_COMMON_NAVIGATION_PARAMS_H_ |
| 6 #define CONTENT_COMMON_NAVIGATION_PARAMS_H_ | 6 #define CONTENT_COMMON_NAVIGATION_PARAMS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 blink::WebMixedContentContextType mixed_content_context_type; | 164 blink::WebMixedContentContextType mixed_content_context_type; |
| 165 | 165 |
| 166 // See WebSearchableFormData for a description of these. | 166 // See WebSearchableFormData for a description of these. |
| 167 GURL searchable_form_url; | 167 GURL searchable_form_url; |
| 168 std::string searchable_form_encoding; | 168 std::string searchable_form_encoding; |
| 169 | 169 |
| 170 // Indicates the initiator of the request. In auxilliary navigations, this is | 170 // Indicates the initiator of the request. In auxilliary navigations, this is |
| 171 // the origin of the document that triggered the navigation. This parameter | 171 // the origin of the document that triggered the navigation. This parameter |
| 172 // can be null during browser-initiated navigations. | 172 // can be null during browser-initiated navigations. |
| 173 base::Optional<url::Origin> initiator_origin; | 173 base::Optional<url::Origin> initiator_origin; |
| 174 |
| 175 // If the transition type is a client side redirect, then this holds the URL |
| 176 // of the page that had the client side redirect. |
| 177 GURL client_side_redirect_url; |
| 174 }; | 178 }; |
| 175 | 179 |
| 176 // Provided by the browser ----------------------------------------------------- | 180 // Provided by the browser ----------------------------------------------------- |
| 177 // | 181 // |
| 178 // These structs are sent by the browser to the renderer to start/commit a | 182 // These structs are sent by the browser to the renderer to start/commit a |
| 179 // navigation depending on whether browser-side navigation is enabled. | 183 // navigation depending on whether browser-side navigation is enabled. |
| 180 // Parameters used both in the current architecture and PlzNavigate should be | 184 // Parameters used both in the current architecture and PlzNavigate should be |
| 181 // put in RequestNavigationParams. Parameters only used by the current | 185 // put in RequestNavigationParams. Parameters only used by the current |
| 182 // architecture should go in StartNavigationParams. | 186 // architecture should go in StartNavigationParams. |
| 183 | 187 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 ~NavigationParams(); | 358 ~NavigationParams(); |
| 355 | 359 |
| 356 CommonNavigationParams common_params; | 360 CommonNavigationParams common_params; |
| 357 StartNavigationParams start_params; | 361 StartNavigationParams start_params; |
| 358 RequestNavigationParams request_params; | 362 RequestNavigationParams request_params; |
| 359 }; | 363 }; |
| 360 | 364 |
| 361 } // namespace content | 365 } // namespace content |
| 362 | 366 |
| 363 #endif // CONTENT_COMMON_NAVIGATION_PARAMS_H_ | 367 #endif // CONTENT_COMMON_NAVIGATION_PARAMS_H_ |
| OLD | NEW |