| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "third_party/WebKit/public/web/WebAXObject.h" | 41 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 42 #include "third_party/WebKit/public/web/WebDataSource.h" | 42 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 43 #include "third_party/WebKit/public/web/WebFrameClient.h" | 43 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 44 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 44 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 45 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 45 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 46 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 46 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 47 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 47 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 48 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 48 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
| 49 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 49 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| 50 #include "ui/gfx/range/range.h" | 50 #include "ui/gfx/range/range.h" |
| 51 #include "url/gurl.h" |
| 51 | 52 |
| 52 #if defined(ENABLE_PLUGINS) | 53 #if defined(ENABLE_PLUGINS) |
| 53 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 54 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
| 54 #endif | 55 #endif |
| 55 | 56 |
| 56 #if defined(OS_ANDROID) | 57 #if defined(OS_ANDROID) |
| 57 #include "content/renderer/media/android/renderer_media_player_manager.h" | 58 #include "content/renderer/media/android/renderer_media_player_manager.h" |
| 58 #endif | 59 #endif |
| 59 | 60 |
| 60 #if defined(ENABLE_MOJO_MEDIA) | 61 #if defined(ENABLE_MOJO_MEDIA) |
| 61 #include "media/mojo/interfaces/service_factory.mojom.h" | 62 #include "media/mojo/interfaces/service_factory.mojom.h" |
| 62 #endif | 63 #endif |
| 63 | 64 |
| 64 class GURL; | |
| 65 class TransportDIB; | 65 class TransportDIB; |
| 66 struct FrameMsg_NewFrame_WidgetParams; | 66 struct FrameMsg_NewFrame_WidgetParams; |
| 67 struct FrameMsg_PostMessage_Params; | 67 struct FrameMsg_PostMessage_Params; |
| 68 struct FrameMsg_SerializeAsMHTML_Params; |
| 68 struct FrameMsg_TextTrackSettings_Params; | 69 struct FrameMsg_TextTrackSettings_Params; |
| 69 | 70 |
| 70 namespace blink { | 71 namespace blink { |
| 71 class WebGeolocationClient; | 72 class WebGeolocationClient; |
| 72 class WebMouseEvent; | 73 class WebMouseEvent; |
| 73 class WebContentDecryptionModule; | 74 class WebContentDecryptionModule; |
| 74 class WebMediaPlayer; | 75 class WebMediaPlayer; |
| 75 class WebPresentationClient; | 76 class WebPresentationClient; |
| 76 class WebPushClient; | 77 class WebPushClient; |
| 77 class WebSecurityOrigin; | 78 class WebSecurityOrigin; |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 783 const GURL& stream_url, | 784 const GURL& stream_url, |
| 784 const CommonNavigationParams& common_params, | 785 const CommonNavigationParams& common_params, |
| 785 const RequestNavigationParams& request_params); | 786 const RequestNavigationParams& request_params); |
| 786 void OnFailedNavigation(const CommonNavigationParams& common_params, | 787 void OnFailedNavigation(const CommonNavigationParams& common_params, |
| 787 const RequestNavigationParams& request_params, | 788 const RequestNavigationParams& request_params, |
| 788 bool has_stale_copy_in_cache, | 789 bool has_stale_copy_in_cache, |
| 789 int error_code); | 790 int error_code); |
| 790 void OnGetSavableResourceLinks(); | 791 void OnGetSavableResourceLinks(); |
| 791 void OnGetSerializedHtmlWithLocalLinks( | 792 void OnGetSerializedHtmlWithLocalLinks( |
| 792 const std::map<GURL, base::FilePath>& url_to_local_path); | 793 const std::map<GURL, base::FilePath>& url_to_local_path); |
| 793 void OnSerializeAsMHTML( | 794 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
| 794 int job_id, | |
| 795 IPC::PlatformFileForTransit file_for_transit, | |
| 796 const std::string& mhtml_boundary_marker, | |
| 797 const std::map<int, std::string>& frame_routing_id_to_content_id, | |
| 798 bool is_last_frame); | |
| 799 | 795 |
| 800 // Requests that the browser process navigates to |url|. If | 796 // Requests that the browser process navigates to |url|. If |
| 801 // |is_history_navigation_in_new_child| is true, the browser process should | 797 // |is_history_navigation_in_new_child| is true, the browser process should |
| 802 // look for a matching FrameNavigationEntry in the last committed entry to use | 798 // look for a matching FrameNavigationEntry in the last committed entry to use |
| 803 // instead of |url|. | 799 // instead of |url|. |
| 804 void OpenURL(const GURL& url, | 800 void OpenURL(const GURL& url, |
| 805 const Referrer& referrer, | 801 const Referrer& referrer, |
| 806 blink::WebNavigationPolicy policy, | 802 blink::WebNavigationPolicy policy, |
| 807 bool should_replace_current_entry, | 803 bool should_replace_current_entry, |
| 808 bool is_history_navigation_in_new_child); | 804 bool is_history_navigation_in_new_child); |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 #endif | 1165 #endif |
| 1170 | 1166 |
| 1171 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1167 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1172 | 1168 |
| 1173 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1169 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1174 }; | 1170 }; |
| 1175 | 1171 |
| 1176 } // namespace content | 1172 } // namespace content |
| 1177 | 1173 |
| 1178 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1174 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |