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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #endif | 51 #endif |
52 | 52 |
53 #if defined(ENABLE_MOJO_MEDIA) | 53 #if defined(ENABLE_MOJO_MEDIA) |
54 #include "media/mojo/interfaces/service_factory.mojom.h" | 54 #include "media/mojo/interfaces/service_factory.mojom.h" |
55 #endif | 55 #endif |
56 | 56 |
57 class GURL; | 57 class GURL; |
58 class TransportDIB; | 58 class TransportDIB; |
59 struct FrameMsg_NewFrame_WidgetParams; | 59 struct FrameMsg_NewFrame_WidgetParams; |
60 struct FrameMsg_PostMessage_Params; | 60 struct FrameMsg_PostMessage_Params; |
| 61 struct FrameMsg_SerializeAsMHTML_Params; |
61 struct FrameMsg_TextTrackSettings_Params; | 62 struct FrameMsg_TextTrackSettings_Params; |
62 | 63 |
63 namespace blink { | 64 namespace blink { |
64 class WebGeolocationClient; | 65 class WebGeolocationClient; |
65 class WebMouseEvent; | 66 class WebMouseEvent; |
66 class WebContentDecryptionModule; | 67 class WebContentDecryptionModule; |
67 class WebMediaPlayer; | 68 class WebMediaPlayer; |
68 class WebPresentationClient; | 69 class WebPresentationClient; |
69 class WebPushClient; | 70 class WebPushClient; |
70 class WebSecurityOrigin; | 71 class WebSecurityOrigin; |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 const RequestNavigationParams& request_params); | 765 const RequestNavigationParams& request_params); |
765 void OnFailedNavigation(const CommonNavigationParams& common_params, | 766 void OnFailedNavigation(const CommonNavigationParams& common_params, |
766 const RequestNavigationParams& request_params, | 767 const RequestNavigationParams& request_params, |
767 bool has_stale_copy_in_cache, | 768 bool has_stale_copy_in_cache, |
768 int error_code); | 769 int error_code); |
769 void OnGetSavableResourceLinks(); | 770 void OnGetSavableResourceLinks(); |
770 void OnGetSerializedHtmlWithLocalLinks( | 771 void OnGetSerializedHtmlWithLocalLinks( |
771 std::vector<GURL> original_urls, | 772 std::vector<GURL> original_urls, |
772 std::vector<base::FilePath> equivalent_local_paths, | 773 std::vector<base::FilePath> equivalent_local_paths, |
773 base::FilePath local_directory_path); | 774 base::FilePath local_directory_path); |
774 void OnSerializeAsMHTML( | 775 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
775 int job_id, | |
776 IPC::PlatformFileForTransit file_for_transit, | |
777 const std::string& mhtml_boundary_marker, | |
778 const std::map<int, std::string>& frame_routing_id_to_content_id, | |
779 bool is_last_frame); | |
780 | 776 |
781 // Requests that the browser process navigates to |url|. If | 777 // Requests that the browser process navigates to |url|. If |
782 // |is_history_navigation_in_new_child| is true, the browser process should | 778 // |is_history_navigation_in_new_child| is true, the browser process should |
783 // look for a matching FrameNavigationEntry in the last committed entry to use | 779 // look for a matching FrameNavigationEntry in the last committed entry to use |
784 // instead of |url|. | 780 // instead of |url|. |
785 void OpenURL(const GURL& url, | 781 void OpenURL(const GURL& url, |
786 const Referrer& referrer, | 782 const Referrer& referrer, |
787 blink::WebNavigationPolicy policy, | 783 blink::WebNavigationPolicy policy, |
788 bool should_replace_current_entry, | 784 bool should_replace_current_entry, |
789 bool is_history_navigation_in_new_child); | 785 bool is_history_navigation_in_new_child); |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 #endif | 1125 #endif |
1130 | 1126 |
1131 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1127 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1132 | 1128 |
1133 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1129 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1134 }; | 1130 }; |
1135 | 1131 |
1136 } // namespace content | 1132 } // namespace content |
1137 | 1133 |
1138 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1134 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |