| 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 16 matching lines...) Expand all Loading... |
| 27 #include "content/renderer/renderer_webcookiejar_impl.h" | 27 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 28 #include "ipc/ipc_message.h" | 28 #include "ipc/ipc_message.h" |
| 29 #include "media/blink/webmediaplayer_delegate.h" | 29 #include "media/blink/webmediaplayer_delegate.h" |
| 30 #include "media/blink/webmediaplayer_params.h" | 30 #include "media/blink/webmediaplayer_params.h" |
| 31 #include "mojo/application/public/interfaces/service_provider.mojom.h" | 31 #include "mojo/application/public/interfaces/service_provider.mojom.h" |
| 32 #include "mojo/application/public/interfaces/shell.mojom.h" | 32 #include "mojo/application/public/interfaces/shell.mojom.h" |
| 33 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 33 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 34 #include "third_party/WebKit/public/web/WebAXObject.h" | 34 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 35 #include "third_party/WebKit/public/web/WebDataSource.h" | 35 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 36 #include "third_party/WebKit/public/web/WebFrameClient.h" | 36 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 37 #include "third_party/WebKit/public/web/WebFrameLoadType.h" |
| 37 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" | 38 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
| 38 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 39 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 39 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" | 40 #include "third_party/WebKit/public/web/WebMeaningfulLayout.h" |
| 40 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" | 41 #include "third_party/WebKit/public/web/WebPageSerializerClient.h" |
| 41 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" | 42 #include "third_party/WebKit/public/web/WebScriptExecutionCallback.h" |
| 42 #include "ui/gfx/range/range.h" | 43 #include "ui/gfx/range/range.h" |
| 43 | 44 |
| 44 #if defined(ENABLE_PLUGINS) | 45 #if defined(ENABLE_PLUGINS) |
| 45 #include "content/renderer/pepper/plugin_power_saver_helper.h" | 46 #include "content/renderer/pepper/plugin_power_saver_helper.h" |
| 46 #endif | 47 #endif |
| (...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 838 bool* is_reload, | 839 bool* is_reload, |
| 839 blink::WebURLRequest::CachePolicy* cache_policy); | 840 blink::WebURLRequest::CachePolicy* cache_policy); |
| 840 | 841 |
| 841 // PlzNavigate | 842 // PlzNavigate |
| 842 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 843 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 843 // of the WebURLRequest. | 844 // of the WebURLRequest. |
| 844 void BeginNavigation(blink::WebURLRequest* request); | 845 void BeginNavigation(blink::WebURLRequest* request); |
| 845 | 846 |
| 846 // Loads a data url. | 847 // Loads a data url. |
| 847 void LoadDataURL(const CommonNavigationParams& params, | 848 void LoadDataURL(const CommonNavigationParams& params, |
| 848 blink::WebFrame* frame); | 849 blink::WebFrame* frame, |
| 850 blink::WebFrameLoadType load_type); |
| 849 | 851 |
| 850 // Sends the current frame's navigation state to the browser. | 852 // Sends the current frame's navigation state to the browser. |
| 851 void SendUpdateState(); | 853 void SendUpdateState(); |
| 852 | 854 |
| 853 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for | 855 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for |
| 854 // the failed request |request|. | 856 // the failed request |request|. |
| 855 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, | 857 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, |
| 856 const blink::WebURLError& error, | 858 const blink::WebURLError& error, |
| 857 blink::WebLocalFrame* frame); | 859 blink::WebLocalFrame* frame); |
| 858 | 860 |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1102 #endif | 1104 #endif |
| 1103 | 1105 |
| 1104 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1106 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1105 | 1107 |
| 1106 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1108 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1107 }; | 1109 }; |
| 1108 | 1110 |
| 1109 } // namespace content | 1111 } // namespace content |
| 1110 | 1112 |
| 1111 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1113 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |