Index: content/common/navigation_params.h |
diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
index 81e3229c2cc63743a5e30ecc332471e5409f0f91..3c8a64242ecc3f9e042ac543f9c387731b87906e 100644 |
--- a/content/common/navigation_params.h |
+++ b/content/common/navigation_params.h |
@@ -238,6 +238,7 @@ struct CONTENT_EXPORT RequestNavigationParams { |
bool can_load_local_resources, |
const PageState& page_state, |
int nav_entry_id, |
+ bool is_same_document_fragment_change, |
bool is_same_document_history_load, |
bool is_history_navigation_in_new_child, |
std::map<std::string, bool> subframe_unique_names, |
@@ -275,6 +276,11 @@ struct CONTENT_EXPORT RequestNavigationParams { |
// the resulting FrameHostMsg_DidCommitProvisionalLoad message. |
int nav_entry_id; |
+ // PlzNavigate |
+ // Whether this navigation is differing only in the fragment compared to the |
+ // current frame's URL. In that case, no network request should be made. |
+ bool is_same_document_fragment_change; |
+ |
// For history navigations, this indicates whether the load will stay within |
// the same document. Defaults to false. |
bool is_same_document_history_load; |