| 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_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 void CommitNavigation(ResourceResponse* response, | 539 void CommitNavigation(ResourceResponse* response, |
| 540 std::unique_ptr<StreamHandle> body, | 540 std::unique_ptr<StreamHandle> body, |
| 541 const CommonNavigationParams& common_params, | 541 const CommonNavigationParams& common_params, |
| 542 const RequestNavigationParams& request_params, | 542 const RequestNavigationParams& request_params, |
| 543 bool is_view_source); | 543 bool is_view_source); |
| 544 | 544 |
| 545 // PlzNavigate | 545 // PlzNavigate |
| 546 // Indicates that a navigation failed and that this RenderFrame should display | 546 // Indicates that a navigation failed and that this RenderFrame should display |
| 547 // an error page. | 547 // an error page. |
| 548 void FailedNavigation(const CommonNavigationParams& common_params, | 548 void FailedNavigation(const CommonNavigationParams& common_params, |
| 549 const BeginNavigationParams& begin_params, |
| 549 const RequestNavigationParams& request_params, | 550 const RequestNavigationParams& request_params, |
| 550 bool has_stale_copy_in_cache, | 551 bool has_stale_copy_in_cache, |
| 551 int error_code); | 552 int error_code); |
| 552 | 553 |
| 553 // Sets up the Mojo connection between this instance and its associated render | 554 // Sets up the Mojo connection between this instance and its associated render |
| 554 // frame if it has not yet been set up. | 555 // frame if it has not yet been set up. |
| 555 void SetUpMojoIfNeeded(); | 556 void SetUpMojoIfNeeded(); |
| 556 | 557 |
| 557 // Tears down the browser-side state relating to the Mojo connection between | 558 // Tears down the browser-side state relating to the Mojo connection between |
| 558 // this instance and its associated render frame. | 559 // this instance and its associated render frame. |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 | 1152 |
| 1152 // NOTE: This must be the last member. | 1153 // NOTE: This must be the last member. |
| 1153 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1154 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1154 | 1155 |
| 1155 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1156 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1156 }; | 1157 }; |
| 1157 | 1158 |
| 1158 } // namespace content | 1159 } // namespace content |
| 1159 | 1160 |
| 1160 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |