| 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_RENDERER_RENDER_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 void OnCommitNavigation(const ResourceResponseHead& response, | 771 void OnCommitNavigation(const ResourceResponseHead& response, |
| 772 const GURL& stream_url, | 772 const GURL& stream_url, |
| 773 const CommonNavigationParams& common_params, | 773 const CommonNavigationParams& common_params, |
| 774 const RequestNavigationParams& request_params); | 774 const RequestNavigationParams& request_params); |
| 775 void OnFailedNavigation(const CommonNavigationParams& common_params, | 775 void OnFailedNavigation(const CommonNavigationParams& common_params, |
| 776 const RequestNavigationParams& request_params, | 776 const RequestNavigationParams& request_params, |
| 777 bool has_stale_copy_in_cache, | 777 bool has_stale_copy_in_cache, |
| 778 int error_code); | 778 int error_code); |
| 779 void OnGetSavableResourceLinks(); | 779 void OnGetSavableResourceLinks(); |
| 780 void OnGetSerializedHtmlWithLocalLinks( | 780 void OnGetSerializedHtmlWithLocalLinks( |
| 781 const std::map<GURL, base::FilePath>& url_to_local_path); | 781 const std::map<GURL, base::FilePath>& url_to_local_path, |
| 782 const std::map<int, base::FilePath>& frame_routing_id_to_local_path); |
| 782 void OnSerializeAsMHTML( | 783 void OnSerializeAsMHTML( |
| 783 int job_id, | 784 int job_id, |
| 784 IPC::PlatformFileForTransit file_for_transit, | 785 IPC::PlatformFileForTransit file_for_transit, |
| 785 const std::string& mhtml_boundary_marker, | 786 const std::string& mhtml_boundary_marker, |
| 786 const std::map<int, std::string>& frame_routing_id_to_content_id, | 787 const std::map<int, std::string>& frame_routing_id_to_content_id, |
| 787 bool is_last_frame); | 788 bool is_last_frame); |
| 788 | 789 |
| 789 // Requests that the browser process navigates to |url|. If | 790 // Requests that the browser process navigates to |url|. If |
| 790 // |is_history_navigation_in_new_child| is true, the browser process should | 791 // |is_history_navigation_in_new_child| is true, the browser process should |
| 791 // look for a matching FrameNavigationEntry in the last committed entry to use | 792 // look for a matching FrameNavigationEntry in the last committed entry to use |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 #endif | 1162 #endif |
| 1162 | 1163 |
| 1163 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1164 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1164 | 1165 |
| 1165 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1166 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1166 }; | 1167 }; |
| 1167 | 1168 |
| 1168 } // namespace content | 1169 } // namespace content |
| 1169 | 1170 |
| 1170 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1171 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |