OLD | NEW |
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 "base/containers/scoped_ptr_hash_map.h" | 8 #include "base/containers/scoped_ptr_hash_map.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 bool should_replace_current_entry, | 66 bool should_replace_current_entry, |
67 bool user_gesture) override; | 67 bool user_gesture) override; |
68 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, | 68 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, |
69 const GURL& url, | 69 const GURL& url, |
70 SiteInstance* source_site_instance, | 70 SiteInstance* source_site_instance, |
71 const std::vector<GURL>& redirect_chain, | 71 const std::vector<GURL>& redirect_chain, |
72 const Referrer& referrer, | 72 const Referrer& referrer, |
73 ui::PageTransition page_transition, | 73 ui::PageTransition page_transition, |
74 WindowOpenDisposition disposition, | 74 WindowOpenDisposition disposition, |
75 const GlobalRequestID& transferred_global_request_id, | 75 const GlobalRequestID& transferred_global_request_id, |
76 bool should_replace_current_entry, | 76 bool should_replace_current_entry) override; |
77 bool user_gesture) override; | |
78 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; | 77 void OnBeforeUnloadACK(FrameTreeNode* frame_tree_node, bool proceed) override; |
79 void OnBeginNavigation(FrameTreeNode* frame_tree_node, | 78 void OnBeginNavigation(FrameTreeNode* frame_tree_node, |
80 const CommonNavigationParams& common_params, | 79 const CommonNavigationParams& common_params, |
81 const BeginNavigationParams& begin_params, | 80 const BeginNavigationParams& begin_params, |
82 scoped_refptr<ResourceRequestBody> body) override; | 81 scoped_refptr<ResourceRequestBody> body) override; |
83 void CommitNavigation(FrameTreeNode* frame_tree_node, | 82 void CommitNavigation(FrameTreeNode* frame_tree_node, |
84 ResourceResponse* response, | 83 ResourceResponse* response, |
85 scoped_ptr<StreamHandle> body) override; | 84 scoped_ptr<StreamHandle> body) override; |
86 void FailedNavigation(FrameTreeNode* frame_tree_node, | 85 void FailedNavigation(FrameTreeNode* frame_tree_node, |
87 bool has_stale_copy_in_cache, | 86 bool has_stale_copy_in_cache, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 NavigatorDelegate* delegate_; | 149 NavigatorDelegate* delegate_; |
151 | 150 |
152 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 151 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
153 | 152 |
154 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 153 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
155 }; | 154 }; |
156 | 155 |
157 } // namespace content | 156 } // namespace content |
158 | 157 |
159 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 158 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |