| 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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 void DidCancelPopupMenu(); | 536 void DidCancelPopupMenu(); |
| 537 #endif | 537 #endif |
| 538 #endif | 538 #endif |
| 539 | 539 |
| 540 // PlzNavigate: Indicates that a navigation is ready to commit and can be | 540 // PlzNavigate: Indicates that a navigation is ready to commit and can be |
| 541 // handled by this RenderFrame. | 541 // handled by this RenderFrame. |
| 542 void CommitNavigation(ResourceResponse* response, | 542 void CommitNavigation(ResourceResponse* response, |
| 543 std::unique_ptr<StreamHandle> body, | 543 std::unique_ptr<StreamHandle> body, |
| 544 const CommonNavigationParams& common_params, | 544 const CommonNavigationParams& common_params, |
| 545 const RequestNavigationParams& request_params, | 545 const RequestNavigationParams& request_params, |
| 546 bool is_view_source); | 546 bool is_view_source, |
| 547 bool user_gesture); |
| 547 | 548 |
| 548 // PlzNavigate | 549 // PlzNavigate |
| 549 // Indicates that a navigation failed and that this RenderFrame should display | 550 // Indicates that a navigation failed and that this RenderFrame should display |
| 550 // an error page. | 551 // an error page. |
| 551 void FailedNavigation(const CommonNavigationParams& common_params, | 552 void FailedNavigation(const CommonNavigationParams& common_params, |
| 552 const RequestNavigationParams& request_params, | 553 const RequestNavigationParams& request_params, |
| 553 bool has_stale_copy_in_cache, | 554 bool has_stale_copy_in_cache, |
| 554 int error_code); | 555 int error_code); |
| 555 | 556 |
| 556 // Sets up the Mojo connection between this instance and its associated render | 557 // Sets up the Mojo connection between this instance and its associated render |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 | 1067 |
| 1067 // NOTE: This must be the last member. | 1068 // NOTE: This must be the last member. |
| 1068 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1069 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1069 | 1070 |
| 1070 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1071 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1071 }; | 1072 }; |
| 1072 | 1073 |
| 1073 } // namespace content | 1074 } // namespace content |
| 1074 | 1075 |
| 1075 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1076 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |