| 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 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); | 485 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); |
| 486 void DidCancelPopupMenu(); | 486 void DidCancelPopupMenu(); |
| 487 #endif | 487 #endif |
| 488 | 488 |
| 489 // PlzNavigate: Indicates that a navigation is ready to commit and can be | 489 // PlzNavigate: Indicates that a navigation is ready to commit and can be |
| 490 // handled by this RenderFrame. | 490 // handled by this RenderFrame. |
| 491 void CommitNavigation(ResourceResponse* response, | 491 void CommitNavigation(ResourceResponse* response, |
| 492 std::unique_ptr<StreamHandle> body, | 492 std::unique_ptr<StreamHandle> body, |
| 493 const CommonNavigationParams& common_params, | 493 const CommonNavigationParams& common_params, |
| 494 const RequestNavigationParams& request_params, | 494 const RequestNavigationParams& request_params, |
| 495 bool is_view_source); | 495 bool is_view_source, |
| 496 scoped_refptr<ResourceRequestBody> post_data); |
| 496 | 497 |
| 497 // PlzNavigate | 498 // PlzNavigate |
| 498 // Indicates that a navigation failed and that this RenderFrame should display | 499 // Indicates that a navigation failed and that this RenderFrame should display |
| 499 // an error page. | 500 // an error page. |
| 500 void FailedNavigation(const CommonNavigationParams& common_params, | 501 void FailedNavigation(const CommonNavigationParams& common_params, |
| 501 const RequestNavigationParams& request_params, | 502 const RequestNavigationParams& request_params, |
| 502 bool has_stale_copy_in_cache, | 503 bool has_stale_copy_in_cache, |
| 503 int error_code); | 504 int error_code); |
| 504 | 505 |
| 505 // Sets up the Mojo connection between this instance and its associated render | 506 // Sets up the Mojo connection between this instance and its associated render |
| (...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 969 | 970 |
| 970 // NOTE: This must be the last member. | 971 // NOTE: This must be the last member. |
| 971 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 972 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 972 | 973 |
| 973 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 974 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 974 }; | 975 }; |
| 975 | 976 |
| 976 } // namespace content | 977 } // namespace content |
| 977 | 978 |
| 978 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 979 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |