| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 static void CheckWebUIRendererDoesNotDisplayNormalURL( | 36 static void CheckWebUIRendererDoesNotDisplayNormalURL( |
| 37 RenderFrameHostImpl* render_frame_host, | 37 RenderFrameHostImpl* render_frame_host, |
| 38 const GURL& url); | 38 const GURL& url); |
| 39 | 39 |
| 40 // Navigator implementation. | 40 // Navigator implementation. |
| 41 NavigatorDelegate* GetDelegate() override; | 41 NavigatorDelegate* GetDelegate() override; |
| 42 NavigationController* GetController() override; | 42 NavigationController* GetController() override; |
| 43 void DidStartProvisionalLoad( | 43 void DidStartProvisionalLoad( |
| 44 RenderFrameHostImpl* render_frame_host, | 44 RenderFrameHostImpl* render_frame_host, |
| 45 const GURL& url, | 45 const GURL& url, |
| 46 const std::vector<GURL>& redirect_chain, |
| 46 const base::TimeTicks& navigation_start) override; | 47 const base::TimeTicks& navigation_start) override; |
| 47 void DidFailProvisionalLoadWithError( | 48 void DidFailProvisionalLoadWithError( |
| 48 RenderFrameHostImpl* render_frame_host, | 49 RenderFrameHostImpl* render_frame_host, |
| 49 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 50 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 50 override; | 51 override; |
| 51 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 52 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 52 const GURL& url, | 53 const GURL& url, |
| 53 int error_code, | 54 int error_code, |
| 54 const base::string16& error_description, | 55 const base::string16& error_description, |
| 55 bool was_ignored_by_handler) override; | 56 bool was_ignored_by_handler) override; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 NavigatorDelegate* delegate_; | 157 NavigatorDelegate* delegate_; |
| 157 | 158 |
| 158 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; | 159 std::unique_ptr<NavigatorImpl::NavigationMetricsData> navigation_data_; |
| 159 | 160 |
| 160 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); | 161 DISALLOW_COPY_AND_ASSIGN(NavigatorImpl); |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 } // namespace content | 164 } // namespace content |
| 164 | 165 |
| 165 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ | 166 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATOR_IMPL_H_ |
| OLD | NEW |