diff options
Diffstat (limited to 'content/public/common')
-rw-r--r-- | content/public/common/frame_navigate_params.cc | 1 | ||||
-rw-r--r-- | content/public/common/frame_navigate_params.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/content/public/common/frame_navigate_params.cc b/content/public/common/frame_navigate_params.cc index 637cec5..1aef9e5 100644 --- a/content/public/common/frame_navigate_params.cc +++ b/content/public/common/frame_navigate_params.cc @@ -8,6 +8,7 @@ namespace content { FrameNavigateParams::FrameNavigateParams() : page_id(0), + nav_entry_id(0), transition(ui::PAGE_TRANSITION_LINK), should_update_history(false) { } diff --git a/content/public/common/frame_navigate_params.h b/content/public/common/frame_navigate_params.h index b704b8e..884a1d1 100644 --- a/content/public/common/frame_navigate_params.h +++ b/content/public/common/frame_navigate_params.h @@ -27,6 +27,12 @@ struct CONTENT_EXPORT FrameNavigateParams { // iframes are loaded automatically. int32 page_id; + // The unique ID of the NavigationEntry for browser-initiated navigations. + // This value was given to the render process in the HistoryNavigationParams + // and is being returned by the renderer without it having any idea what it + // means. If the navigation was renderer-initiated, this value is 0. + int nav_entry_id; + // URL of the page being loaded. GURL url; |