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

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

Issue 971653004: Remove the FrameMsg_Navigate_Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history-params
Patch Set: Created 5 years, 9 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
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 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 833
834 // Whether we must stop creating nested message loops for modal dialogs until 834 // Whether we must stop creating nested message loops for modal dialogs until
835 // OnSwapOut is called. This is necessary because modal dialogs have a 835 // OnSwapOut is called. This is necessary because modal dialogs have a
836 // PageGroupLoadDeferrer on the stack that interferes with swapping out. 836 // PageGroupLoadDeferrer on the stack that interferes with swapping out.
837 bool suppress_dialogs_until_swap_out_; 837 bool suppress_dialogs_until_swap_out_;
838 838
839 // Holds state pertaining to a navigation that we initiated. This is held by 839 // Holds state pertaining to a navigation that we initiated. This is held by
840 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ 840 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_
841 // as a temporary holder for the state until the WebDataSource corresponding 841 // as a temporary holder for the state until the WebDataSource corresponding
842 // to the new navigation is created. See DidCreateDataSource. 842 // to the new navigation is created. See DidCreateDataSource.
843 // PlzNavigate: |pending_start_params_| is not used.
843 // TODO(nasko): Move to RenderFrame, as this is per-frame state. 844 // TODO(nasko): Move to RenderFrame, as this is per-frame state.
844 scoped_ptr<FrameMsg_Navigate_Params> pending_navigation_params_; 845 scoped_ptr<CommonNavigationParams> pending_common_params_;
clamy 2015/03/09 14:34:47 Unlike in RenderFrameHostImpl, I did not bundle th
nasko 2015/03/09 23:24:23 Unifying those together will be nice, as we don't
clamy 2015/03/10 16:45:44 Done.
846 scoped_ptr<StartNavigationParams> pending_start_params_;
847 scoped_ptr<CommitNavigationParams> pending_commit_params_;
848 scoped_ptr<HistoryNavigationParams> pending_history_params_;
845 849
846 // Timer used to delay the updating of nav state (see SyncNavigationState). 850 // Timer used to delay the updating of nav state (see SyncNavigationState).
847 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; 851 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_;
848 852
849 // Page IDs ------------------------------------------------------------------ 853 // Page IDs ------------------------------------------------------------------
850 // See documentation in RenderView. 854 // See documentation in RenderView.
851 int32 page_id_; 855 int32 page_id_;
852 856
853 // The next available page ID to use for this RenderView. These IDs are 857 // The next available page ID to use for this RenderView. These IDs are
854 // specific to a given RenderView and the frames within it. 858 // specific to a given RenderView and the frames within it.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 // use the Observer interface to filter IPC messages and receive frame change 1049 // use the Observer interface to filter IPC messages and receive frame change
1046 // notifications. 1050 // notifications.
1047 // --------------------------------------------------------------------------- 1051 // ---------------------------------------------------------------------------
1048 1052
1049 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1053 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1050 }; 1054 };
1051 1055
1052 } // namespace content 1056 } // namespace content
1053 1057
1054 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1058 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698