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

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

Issue 1013203002: PlzNavigate: Update the pending navigation params in RenderViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 // opener. If so, we may want to load pages in a separate process. See 836 // opener. If so, we may want to load pages in a separate process. See
837 // decidePolicyForNavigation for details. 837 // decidePolicyForNavigation for details.
838 bool opener_suppressed_; 838 bool opener_suppressed_;
839 839
840 // Whether we must stop creating nested message loops for modal dialogs until 840 // Whether we must stop creating nested message loops for modal dialogs until
841 // OnSwapOut is called. This is necessary because modal dialogs have a 841 // OnSwapOut is called. This is necessary because modal dialogs have a
842 // PageGroupLoadDeferrer on the stack that interferes with swapping out. 842 // PageGroupLoadDeferrer on the stack that interferes with swapping out.
843 bool suppress_dialogs_until_swap_out_; 843 bool suppress_dialogs_until_swap_out_;
844 844
845 // Holds state pertaining to a navigation that we initiated. This is held by 845 // Holds state pertaining to a navigation that we initiated. This is held by
846 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ 846 // the WebDataSource::ExtraData attribute. We use pending_navigation_params_
847 // as a temporary holder for the state until the WebDataSource corresponding 847 // as a temporary holder for the state until the WebDataSource corresponding
848 // to the new navigation is created. See DidCreateDataSource. 848 // to the new navigation is created. See DidCreateDataSource.
849 // TODO(nasko): Move to RenderFrame, as this is per-frame state. 849 // TODO(nasko): Move to RenderFrame, as this is per-frame state.
850 scoped_ptr<NavigationParams> pending_navigation_params_; 850 scoped_ptr<NavigationParams> pending_navigation_params_;
851 851
852 // Timer used to delay the updating of nav state (see SyncNavigationState). 852 // Timer used to delay the updating of nav state (see SyncNavigationState).
853 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_; 853 base::OneShotTimer<RenderViewImpl> nav_state_sync_timer_;
854 854
855 // Page IDs ------------------------------------------------------------------ 855 // Page IDs ------------------------------------------------------------------
856 // See documentation in RenderView. 856 // See documentation in RenderView.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 // use the Observer interface to filter IPC messages and receive frame change 1056 // use the Observer interface to filter IPC messages and receive frame change
1057 // notifications. 1057 // notifications.
1058 // --------------------------------------------------------------------------- 1058 // ---------------------------------------------------------------------------
1059 1059
1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1060 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1061 }; 1061 };
1062 1062
1063 } // namespace content 1063 } // namespace content
1064 1064
1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1065 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698