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 19 matching lines...) Expand all Loading... |
30 // navigations in regular browser tabs. | 30 // navigations in regular browser tabs. |
31 class CONTENT_EXPORT NavigatorImpl : public Navigator { | 31 class CONTENT_EXPORT NavigatorImpl : public Navigator { |
32 public: | 32 public: |
33 NavigatorImpl(NavigationControllerImpl* navigation_controller, | 33 NavigatorImpl(NavigationControllerImpl* navigation_controller, |
34 NavigatorDelegate* delegate); | 34 NavigatorDelegate* delegate); |
35 | 35 |
36 // Navigator implementation. | 36 // Navigator implementation. |
37 NavigatorDelegate* GetDelegate() override; | 37 NavigatorDelegate* GetDelegate() override; |
38 NavigationController* GetController() override; | 38 NavigationController* GetController() override; |
39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 39 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
40 const GURL& url, | 40 const GURL& url) override; |
41 bool is_transition_navigation) override; | |
42 void DidFailProvisionalLoadWithError( | 41 void DidFailProvisionalLoadWithError( |
43 RenderFrameHostImpl* render_frame_host, | 42 RenderFrameHostImpl* render_frame_host, |
44 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 43 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
45 override; | 44 override; |
46 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 45 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
47 const GURL& url, | 46 const GURL& url, |
48 int error_code, | 47 int error_code, |
49 const base::string16& error_description) override; | 48 const base::string16& error_description) override; |
50 void DidNavigate(RenderFrameHostImpl* render_frame_host, | 49 void DidNavigate(RenderFrameHostImpl* render_frame_host, |
51 const FrameHostMsg_DidCommitProvisionalLoad_Params& | 50 const FrameHostMsg_DidCommitProvisionalLoad_Params& |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 NavigatorDelegate* delegate_; | 136 NavigatorDelegate* delegate_; |
138 | 137 |
139 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 138 scoped_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
140 | 139 |
141 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 140 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
142 }; | 141 }; |
143 | 142 |
144 } // namespace content | 143 } // namespace content |
145 | 144 |
146 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 145 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
OLD | NEW |