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