| 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 24 matching lines...) Expand all Loading... |
| 35 #include "third_party/WebKit/public/web/WebAXObject.h" | 35 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 36 #include "third_party/WebKit/public/web/WebDataSource.h" | 36 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 37 #include "third_party/WebKit/public/web/WebFrameClient.h" | 37 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 38 #include "third_party/WebKit/public/web/WebFrameLoadType.h" | 38 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 39 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 39 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 40 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 40 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 41 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 41 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 42 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 42 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
| 43 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 43 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| 44 #include "ui/gfx/range/range.h" | 44 #include "ui/gfx/range/range.h" |
| 45 #include "url/gurl.h" |
| 45 | 46 |
| 46 #if defined(ENABLE_PLUGINS) | 47 #if defined(ENABLE_PLUGINS) |
| 47 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 48 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
| 48 #endif | 49 #endif |
| 49 | 50 |
| 50 #if defined(OS_ANDROID) | 51 #if defined(OS_ANDROID) |
| 51 #include "content/renderer/media/android/renderer_media_player_manager.h" | 52 #include "content/renderer/media/android/renderer_media_player_manager.h" |
| 52 #endif | 53 #endif |
| 53 | 54 |
| 54 #if defined(ENABLE_MOJO_MEDIA) | 55 #if defined(ENABLE_MOJO_MEDIA) |
| 55 #include "media/mojo/interfaces/service_factory.mojom.h" | 56 #include "media/mojo/interfaces/service_factory.mojom.h" |
| 56 #endif | 57 #endif |
| 57 | 58 |
| 58 class GURL; | |
| 59 class TransportDIB; | 59 class TransportDIB; |
| 60 struct FrameMsg_NewFrame_WidgetParams; | 60 struct FrameMsg_NewFrame_WidgetParams; |
| 61 struct FrameMsg_PostMessage_Params; | 61 struct FrameMsg_PostMessage_Params; |
| 62 struct FrameMsg_SerializeAsMHTML_Params; |
| 62 struct FrameMsg_TextTrackSettings_Params; | 63 struct FrameMsg_TextTrackSettings_Params; |
| 63 | 64 |
| 64 namespace blink { | 65 namespace blink { |
| 65 class WebGeolocationClient; | 66 class WebGeolocationClient; |
| 66 class WebMouseEvent; | 67 class WebMouseEvent; |
| 67 class WebContentDecryptionModule; | 68 class WebContentDecryptionModule; |
| 68 class WebMediaPlayer; | 69 class WebMediaPlayer; |
| 69 class WebPresentationClient; | 70 class WebPresentationClient; |
| 70 class WebPushClient; | 71 class WebPushClient; |
| 71 class WebSecurityOrigin; | 72 class WebSecurityOrigin; |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 758 const GURL& stream_url, | 759 const GURL& stream_url, |
| 759 const CommonNavigationParams& common_params, | 760 const CommonNavigationParams& common_params, |
| 760 const RequestNavigationParams& request_params); | 761 const RequestNavigationParams& request_params); |
| 761 void OnFailedNavigation(const CommonNavigationParams& common_params, | 762 void OnFailedNavigation(const CommonNavigationParams& common_params, |
| 762 const RequestNavigationParams& request_params, | 763 const RequestNavigationParams& request_params, |
| 763 bool has_stale_copy_in_cache, | 764 bool has_stale_copy_in_cache, |
| 764 int error_code); | 765 int error_code); |
| 765 void OnGetSavableResourceLinks(); | 766 void OnGetSavableResourceLinks(); |
| 766 void OnGetSerializedHtmlWithLocalLinks( | 767 void OnGetSerializedHtmlWithLocalLinks( |
| 767 const std::map<GURL, base::FilePath>& url_to_local_path); | 768 const std::map<GURL, base::FilePath>& url_to_local_path); |
| 768 void OnSerializeAsMHTML( | 769 void OnSerializeAsMHTML(const FrameMsg_SerializeAsMHTML_Params& params); |
| 769 int job_id, | |
| 770 IPC::PlatformFileForTransit file_for_transit, | |
| 771 const std::string& mhtml_boundary_marker, | |
| 772 const std::map<int, std::string>& frame_routing_id_to_content_id, | |
| 773 bool is_last_frame); | |
| 774 | 770 |
| 775 // Requests that the browser process navigates to |url|. If | 771 // Requests that the browser process navigates to |url|. If |
| 776 // |is_history_navigation_in_new_child| is true, the browser process should | 772 // |is_history_navigation_in_new_child| is true, the browser process should |
| 777 // look for a matching FrameNavigationEntry in the last committed entry to use | 773 // look for a matching FrameNavigationEntry in the last committed entry to use |
| 778 // instead of |url|. | 774 // instead of |url|. |
| 779 void OpenURL(const GURL& url, | 775 void OpenURL(const GURL& url, |
| 780 const Referrer& referrer, | 776 const Referrer& referrer, |
| 781 blink::WebNavigationPolicy policy, | 777 blink::WebNavigationPolicy policy, |
| 782 bool should_replace_current_entry, | 778 bool should_replace_current_entry, |
| 783 bool is_history_navigation_in_new_child); | 779 bool is_history_navigation_in_new_child); |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 #endif | 1122 #endif |
| 1127 | 1123 |
| 1128 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1124 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1129 | 1125 |
| 1130 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1126 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1131 }; | 1127 }; |
| 1132 | 1128 |
| 1133 } // namespace content | 1129 } // namespace content |
| 1134 | 1130 |
| 1135 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1131 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |