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

Side by Side Diff: content/browser/frame_host/navigator_impl.h

Issue 2364943002: Create NavigationHandles for interstitials if needed (Closed)
Patch Set: Fixed Android issue Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const BeginNavigationParams& begin_params) override; 88 const BeginNavigationParams& begin_params) override;
89 void FailedNavigation(FrameTreeNode* frame_tree_node, 89 void FailedNavigation(FrameTreeNode* frame_tree_node,
90 bool has_stale_copy_in_cache, 90 bool has_stale_copy_in_cache,
91 int error_code) override; 91 int error_code) override;
92 void LogResourceRequestTime(base::TimeTicks timestamp, 92 void LogResourceRequestTime(base::TimeTicks timestamp,
93 const GURL& url) override; 93 const GURL& url) override;
94 void LogBeforeUnloadTime( 94 void LogBeforeUnloadTime(
95 const base::TimeTicks& renderer_before_unload_start_time, 95 const base::TimeTicks& renderer_before_unload_start_time,
96 const base::TimeTicks& renderer_before_unload_end_time) override; 96 const base::TimeTicks& renderer_before_unload_end_time) override;
97 void CancelNavigation(FrameTreeNode* frame_tree_node) override; 97 void CancelNavigation(FrameTreeNode* frame_tree_node) override;
98 NavigationHandleImpl* GetNavigationHandleForFrameHost(
99 RenderFrameHostImpl* render_frame_host) override;
98 100
99 private: 101 private:
100 // Holds data used to track browser side navigation metrics. 102 // Holds data used to track browser side navigation metrics.
101 struct NavigationMetricsData; 103 struct NavigationMetricsData;
102 104
103 friend class NavigatorTestWithBrowserSideNavigation; 105 friend class NavigatorTestWithBrowserSideNavigation;
104 ~NavigatorImpl() override; 106 ~NavigatorImpl() override;
105 107
106 // Navigates to the given entry, which might be the pending entry (if 108 // Navigates to the given entry, which might be the pending entry (if
107 // |is_pending_entry| is true). Private because all callers should use either 109 // |is_pending_entry| is true). Private because all callers should use either
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 NavigatorDelegate* delegate_; 160 NavigatorDelegate* delegate_;
159 161
160 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; 162 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_;
161 163
162 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); 164 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl);
163 }; 165 };
164 166
165 } // namespace content 167 } // namespace content
166 168
167 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ 169 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigator_delegate.cc ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698