| 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 #elif defined(OS_ANDROID) | 494 #elif defined(OS_ANDROID) |
| 495 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); | 495 void DidSelectPopupMenuItems(const std::vector<int>& selected_indices); |
| 496 void DidCancelPopupMenu(); | 496 void DidCancelPopupMenu(); |
| 497 #endif | 497 #endif |
| 498 | 498 |
| 499 // PlzNavigate: Indicates that a navigation is ready to commit and can be | 499 // PlzNavigate: Indicates that a navigation is ready to commit and can be |
| 500 // handled by this RenderFrame. | 500 // handled by this RenderFrame. |
| 501 void CommitNavigation(ResourceResponse* response, | 501 void CommitNavigation(ResourceResponse* response, |
| 502 scoped_ptr<StreamHandle> body, | 502 scoped_ptr<StreamHandle> body, |
| 503 const CommonNavigationParams& common_params, | 503 const CommonNavigationParams& common_params, |
| 504 const RequestNavigationParams& request_params); | 504 const RequestNavigationParams& request_params, |
| 505 bool is_view_source); |
| 505 | 506 |
| 506 // PlzNavigate | 507 // PlzNavigate |
| 507 // Indicates that a navigation failed and that this RenderFrame should display | 508 // Indicates that a navigation failed and that this RenderFrame should display |
| 508 // an error page. | 509 // an error page. |
| 509 void FailedNavigation(const CommonNavigationParams& common_params, | 510 void FailedNavigation(const CommonNavigationParams& common_params, |
| 510 const RequestNavigationParams& request_params, | 511 const RequestNavigationParams& request_params, |
| 511 bool has_stale_copy_in_cache, | 512 bool has_stale_copy_in_cache, |
| 512 int error_code); | 513 int error_code); |
| 513 | 514 |
| 514 // Sets up the Mojo connection between this instance and its associated render | 515 // Sets up the Mojo connection between this instance and its associated render |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 | 940 |
| 940 // NOTE: This must be the last member. | 941 // NOTE: This must be the last member. |
| 941 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 942 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 942 | 943 |
| 943 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 944 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 944 }; | 945 }; |
| 945 | 946 |
| 946 } // namespace content | 947 } // namespace content |
| 947 | 948 |
| 948 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 949 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |