Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(993)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 867963002: Revert of Remove the use of page id from building the commit params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 // TODO(nasko): Move to RenderFrame, as this is per-frame state. 853 // TODO(nasko): Move to RenderFrame, as this is per-frame state.
854 scoped_ptr<FrameMsg_Navigate_Params> pending_navigation_params_; 854 scoped_ptr<FrameMsg_Navigate_Params> pending_navigation_params_;
855 855
856 // Timer used to delay the updating of nav state (see SyncNavigationState). 856 // Timer used to delay the updating of nav state (see SyncNavigationState).
857 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; 857 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_;
858 858
859 // Page IDs ------------------------------------------------------------------ 859 // Page IDs ------------------------------------------------------------------
860 // See documentation in RenderView. 860 // See documentation in RenderView.
861 int32 page_id_; 861 int32 page_id_;
862 862
863 // Indicates the ID of the last page that we sent a FrameNavigate to the
864 // browser for. This is used to determine if the most recent transition
865 // generated a history entry (less than page_id_), or not (equal to or
866 // greater than). Note that this will be greater than page_id_ if the user
867 // goes back.
868 int32 last_page_id_sent_to_browser_;
869
863 // The next available page ID to use for this RenderView. These IDs are 870 // The next available page ID to use for this RenderView. These IDs are
864 // specific to a given RenderView and the frames within it. 871 // specific to a given RenderView and the frames within it.
865 int32 next_page_id_; 872 int32 next_page_id_;
866 873
867 // The offset of the current item in the history list. 874 // The offset of the current item in the history list.
868 int history_list_offset_; 875 int history_list_offset_;
869 876
870 // The RenderView's current impression of the history length. This includes 877 // The RenderView's current impression of the history length. This includes
871 // any items that have committed in this process, but because of cross-process 878 // any items that have committed in this process, but because of cross-process
872 // navigations, the history may have some entries that were committed in other 879 // navigations, the history may have some entries that were committed in other
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 // use the Observer interface to filter IPC messages and receive frame change 1062 // use the Observer interface to filter IPC messages and receive frame change
1056 // notifications. 1063 // notifications.
1057 // --------------------------------------------------------------------------- 1064 // ---------------------------------------------------------------------------
1058 1065
1059 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1066 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1060 }; 1067 };
1061 1068
1062 } // namespace content 1069 } // namespace content
1063 1070
1064 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1071 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698