| 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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 bool* is_reload, | 846 bool* is_reload, |
| 847 blink::WebURLRequest::CachePolicy* cache_policy); | 847 blink::WebURLRequest::CachePolicy* cache_policy); |
| 848 | 848 |
| 849 // PlzNavigate | 849 // PlzNavigate |
| 850 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 850 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 851 // of the WebURLRequest. | 851 // of the WebURLRequest. |
| 852 void BeginNavigation(blink::WebURLRequest* request); | 852 void BeginNavigation(blink::WebURLRequest* request); |
| 853 | 853 |
| 854 // Loads a data url. | 854 // Loads a data url. |
| 855 void LoadDataURL(const CommonNavigationParams& params, | 855 void LoadDataURL(const CommonNavigationParams& params, |
| 856 const RequestNavigationParams& request_params, |
| 856 blink::WebFrame* frame, | 857 blink::WebFrame* frame, |
| 857 blink::WebFrameLoadType load_type); | 858 blink::WebFrameLoadType load_type); |
| 858 | 859 |
| 859 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for | 860 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for |
| 860 // the failed request |request|. | 861 // the failed request |request|. |
| 861 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, | 862 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, |
| 862 const blink::WebURLError& error, | 863 const blink::WebURLError& error, |
| 863 blink::WebLocalFrame* frame); | 864 blink::WebLocalFrame* frame); |
| 864 | 865 |
| 865 bool ShouldDisplayErrorPageForFailedLoad(int error_code, | 866 bool ShouldDisplayErrorPageForFailedLoad(int error_code, |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 #endif | 1120 #endif |
| 1120 | 1121 |
| 1121 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1122 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1122 | 1123 |
| 1123 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1124 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1124 }; | 1125 }; |
| 1125 | 1126 |
| 1126 } // namespace content | 1127 } // namespace content |
| 1127 | 1128 |
| 1128 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1129 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |