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 25 matching lines...) Expand all Loading... |
36 #include "third_party/WebKit/public/web/WebAXObject.h" | 36 #include "third_party/WebKit/public/web/WebAXObject.h" |
37 #include "third_party/WebKit/public/web/WebDataSource.h" | 37 #include "third_party/WebKit/public/web/WebDataSource.h" |
38 #include "third_party/WebKit/public/web/WebFrameClient.h" | 38 #include "third_party/WebKit/public/web/WebFrameClient.h" |
39 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 39 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 40 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
41 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 41 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
42 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 42 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
43 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 43 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
44 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 44 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
45 #include "ui/gfx/range/range.h" | 45 #include "ui/gfx/range/range.h" |
| 46 #include "url/gurl.h" |
46 | 47 |
47 #if defined(ENABLE_PLUGINS) | 48 #if defined(ENABLE_PLUGINS) |
48 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 49 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
49 #endif | 50 #endif |
50 | 51 |
51 #if defined(OS_ANDROID) | 52 #if defined(OS_ANDROID) |
52 #include "content/renderer/media/android/renderer_media_player_manager.h" | 53 #include "content/renderer/media/android/renderer_media_player_manager.h" |
53 #endif | 54 #endif |
54 | 55 |
55 #if defined(ENABLE_MOJO_MEDIA) | 56 #if defined(ENABLE_MOJO_MEDIA) |
56 #include "media/mojo/interfaces/service_factory.mojom.h" | 57 #include "media/mojo/interfaces/service_factory.mojom.h" |
57 #endif | 58 #endif |
58 | 59 |
59 class GURL; | |
60 class TransportDIB; | 60 class TransportDIB; |
61 struct FrameMsg_NewFrame_WidgetParams; | 61 struct FrameMsg_NewFrame_WidgetParams; |
62 struct FrameMsg_PostMessage_Params; | 62 struct FrameMsg_PostMessage_Params; |
| 63 struct FrameMsg_SerializeAsMHTML_Params; |
63 struct FrameMsg_TextTrackSettings_Params; | 64 struct FrameMsg_TextTrackSettings_Params; |
64 | 65 |
65 namespace blink { | 66 namespace blink { |
66 class WebGeolocationClient; | 67 class WebGeolocationClient; |
67 class WebMouseEvent; | 68 class WebMouseEvent; |
68 class WebContentDecryptionModule; | 69 class WebContentDecryptionModule; |
69 class WebMediaPlayer; | 70 class WebMediaPlayer; |
70 class WebPresentationClient; | 71 class WebPresentationClient; |
71 class WebPushClient; | 72 class WebPushClient; |
72 class WebSecurityOrigin; | 73 class WebSecurityOrigin; |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 const GURL& stream_url, | 773 const GURL& stream_url, |
773 const CommonNavigationParams& common_params, | 774 const CommonNavigationParams& common_params, |
774 const RequestNavigationParams& request_params); | 775 const RequestNavigationParams& request_params); |
775 void OnFailedNavigation(const CommonNavigationParams& common_params, | 776 void OnFailedNavigation(const CommonNavigationParams& common_params, |
776 const RequestNavigationParams& request_params, | 777 const RequestNavigationParams& request_params, |
777 bool has_stale_copy_in_cache, | 778 bool has_stale_copy_in_cache, |
778 int error_code); | 779 int error_code); |
779 void OnGetSavableResourceLinks(); | 780 void OnGetSavableResourceLinks(); |
780 void OnGetSerializedHtmlWithLocalLinks( | 781 void OnGetSerializedHtmlWithLocalLinks( |
781 const std::map<GURL, base::FilePath>& url_to_local_path); | 782 const std::map<GURL, base::FilePath>& url_to_local_path); |
782 void OnSerializeAsMHTML( | 783 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
783 int job_id, | |
784 IPC::PlatformFileForTransit file_for_transit, | |
785 const std::string& mhtml_boundary_marker, | |
786 const std::map<int, std::string>& frame_routing_id_to_content_id, | |
787 bool is_last_frame); | |
788 | 784 |
789 // Requests that the browser process navigates to |url|. If | 785 // Requests that the browser process navigates to |url|. If |
790 // |is_history_navigation_in_new_child| is true, the browser process should | 786 // |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 | 787 // look for a matching FrameNavigationEntry in the last committed entry to use |
792 // instead of |url|. | 788 // instead of |url|. |
793 void OpenURL(const GURL& url, | 789 void OpenURL(const GURL& url, |
794 const Referrer& referrer, | 790 const Referrer& referrer, |
795 blink::WebNavigationPolicy policy, | 791 blink::WebNavigationPolicy policy, |
796 bool should_replace_current_entry, | 792 bool should_replace_current_entry, |
797 bool is_history_navigation_in_new_child); | 793 bool is_history_navigation_in_new_child); |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1161 #endif | 1157 #endif |
1162 | 1158 |
1163 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1159 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
1164 | 1160 |
1165 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1161 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
1166 }; | 1162 }; |
1167 | 1163 |
1168 } // namespace content | 1164 } // namespace content |
1169 | 1165 |
1170 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1166 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
OLD | NEW |