| 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 std::unique_ptr<StreamHandle> body, | 502 std::unique_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 bool is_view_source); |
| 506 scoped_refptr<ResourceRequestBody> post_data); | |
| 507 | 506 |
| 508 // PlzNavigate | 507 // PlzNavigate |
| 509 // Indicates that a navigation failed and that this RenderFrame should display | 508 // Indicates that a navigation failed and that this RenderFrame should display |
| 510 // an error page. | 509 // an error page. |
| 511 void FailedNavigation(const CommonNavigationParams& common_params, | 510 void FailedNavigation(const CommonNavigationParams& common_params, |
| 512 const RequestNavigationParams& request_params, | 511 const RequestNavigationParams& request_params, |
| 513 bool has_stale_copy_in_cache, | 512 bool has_stale_copy_in_cache, |
| 514 int error_code); | 513 int error_code); |
| 515 | 514 |
| 516 // 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 void OnDidAssignPageId(int32_t page_id); | 651 void OnDidAssignPageId(int32_t page_id); |
| 653 void OnDidChangeSandboxFlags(int32_t frame_routing_id, | 652 void OnDidChangeSandboxFlags(int32_t frame_routing_id, |
| 654 blink::WebSandboxFlags flags); | 653 blink::WebSandboxFlags flags); |
| 655 void OnDidChangeFrameOwnerProperties( | 654 void OnDidChangeFrameOwnerProperties( |
| 656 int32_t frame_routing_id, | 655 int32_t frame_routing_id, |
| 657 const blink::WebFrameOwnerProperties& frame_owner_properties); | 656 const blink::WebFrameOwnerProperties& frame_owner_properties); |
| 658 void OnUpdateTitle(const base::string16& title, | 657 void OnUpdateTitle(const base::string16& title, |
| 659 blink::WebTextDirection title_direction); | 658 blink::WebTextDirection title_direction); |
| 660 void OnUpdateEncoding(const std::string& encoding); | 659 void OnUpdateEncoding(const std::string& encoding); |
| 661 void OnBeginNavigation(const CommonNavigationParams& common_params, | 660 void OnBeginNavigation(const CommonNavigationParams& common_params, |
| 662 const BeginNavigationParams& begin_params, | 661 const BeginNavigationParams& begin_params); |
| 663 scoped_refptr<ResourceRequestBody> body); | |
| 664 void OnDispatchLoad(); | 662 void OnDispatchLoad(); |
| 665 void OnAccessibilityEvents( | 663 void OnAccessibilityEvents( |
| 666 const std::vector<AccessibilityHostMsg_EventParams>& params, | 664 const std::vector<AccessibilityHostMsg_EventParams>& params, |
| 667 int reset_token); | 665 int reset_token); |
| 668 void OnAccessibilityLocationChanges( | 666 void OnAccessibilityLocationChanges( |
| 669 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); | 667 const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); |
| 670 void OnAccessibilityFindInPageResult( | 668 void OnAccessibilityFindInPageResult( |
| 671 const AccessibilityHostMsg_FindInPageResultParams& params); | 669 const AccessibilityHostMsg_FindInPageResultParams& params); |
| 672 void OnAccessibilityChildFrameHitTestResult(const gfx::Point& point, | 670 void OnAccessibilityChildFrameHitTestResult(const gfx::Point& point, |
| 673 int hit_obj_id); | 671 int hit_obj_id); |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 | 989 |
| 992 // NOTE: This must be the last member. | 990 // NOTE: This must be the last member. |
| 993 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 991 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 994 | 992 |
| 995 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 993 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 996 }; | 994 }; |
| 997 | 995 |
| 998 } // namespace content | 996 } // namespace content |
| 999 | 997 |
| 1000 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 998 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |