| 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 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 bool* is_reload, | 867 bool* is_reload, |
| 868 blink::WebURLRequest::CachePolicy* cache_policy); | 868 blink::WebURLRequest::CachePolicy* cache_policy); |
| 869 | 869 |
| 870 // PlzNavigate | 870 // PlzNavigate |
| 871 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 871 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 872 // of the WebURLRequest. | 872 // of the WebURLRequest. |
| 873 void BeginNavigation(blink::WebURLRequest* request); | 873 void BeginNavigation(blink::WebURLRequest* request); |
| 874 | 874 |
| 875 // Loads a data url. | 875 // Loads a data url. |
| 876 void LoadDataURL(const CommonNavigationParams& params, | 876 void LoadDataURL(const CommonNavigationParams& params, |
| 877 const RequestNavigationParams& request_params, |
| 877 blink::WebFrame* frame, | 878 blink::WebFrame* frame, |
| 878 blink::WebFrameLoadType load_type); | 879 blink::WebFrameLoadType load_type); |
| 879 | 880 |
| 880 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for | 881 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for |
| 881 // the failed request |request|. | 882 // the failed request |request|. |
| 882 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, | 883 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, |
| 883 const blink::WebURLError& error, | 884 const blink::WebURLError& error, |
| 884 blink::WebLocalFrame* frame); | 885 blink::WebLocalFrame* frame); |
| 885 | 886 |
| 886 bool ShouldDisplayErrorPageForFailedLoad(int error_code, | 887 bool ShouldDisplayErrorPageForFailedLoad(int error_code, |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1161 #endif | 1162 #endif |
| 1162 | 1163 |
| 1163 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1164 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1164 | 1165 |
| 1165 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1166 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1166 }; | 1167 }; |
| 1167 | 1168 |
| 1168 } // namespace content | 1169 } // namespace content |
| 1169 | 1170 |
| 1170 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1171 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |