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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
46 const GURL& url, | 46 const GURL& url, |
47 int error_code, | 47 int error_code, |
48 const base::string16& error_description) override; | 48 const base::string16& error_description) override; |
49 void DidNavigate(RenderFrameHostImpl* render_frame_host, | 49 void DidNavigate(RenderFrameHostImpl* render_frame_host, |
50 const FrameHostMsg_DidCommitProvisionalLoad_Params& | 50 const FrameHostMsg_DidCommitProvisionalLoad_Params& |
51 input_params) override; | 51 input_params) override; |
52 bool NavigateToPendingEntry( | 52 bool NavigateToPendingEntry( |
53 FrameTreeNode* frame_tree_node, | 53 FrameTreeNode* frame_tree_node, |
54 NavigationController::ReloadType reload_type) override; | 54 NavigationController::ReloadType reload_type) override; |
| 55 void DidStartLoading(FrameTreeNode* frame_tree_node, |
| 56 bool to_different_document) override; |
| 57 void DidStopLoading() override; |
| 58 void DidChangeLoadProgress() override; |
55 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, | 59 void RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
56 const GURL& url, | 60 const GURL& url, |
57 SiteInstance* source_site_instance, | 61 SiteInstance* source_site_instance, |
58 const Referrer& referrer, | 62 const Referrer& referrer, |
59 WindowOpenDisposition disposition, | 63 WindowOpenDisposition disposition, |
60 bool should_replace_current_entry, | 64 bool should_replace_current_entry, |
61 bool user_gesture) override; | 65 bool user_gesture) override; |
62 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, | 66 void RequestTransferURL(RenderFrameHostImpl* render_frame_host, |
63 const GURL& url, | 67 const GURL& url, |
64 SiteInstance* source_site_instance, | 68 SiteInstance* source_site_instance, |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // different FrameTreeNodes, based on the frame_tree_node_id. | 147 // different FrameTreeNodes, based on the frame_tree_node_id. |
144 typedef base::ScopedPtrHashMap<int64, NavigationRequest> NavigationRequestMap; | 148 typedef base::ScopedPtrHashMap<int64, NavigationRequest> NavigationRequestMap; |
145 NavigationRequestMap navigation_request_map_; | 149 NavigationRequestMap navigation_request_map_; |
146 | 150 |
147 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 151 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
148 }; | 152 }; |
149 | 153 |
150 } // namespace content | 154 } // namespace content |
151 | 155 |
152 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 156 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |