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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 blink::WebURLRequest::CachePolicy* cache_policy); | 839 blink::WebURLRequest::CachePolicy* cache_policy); |
840 | 840 |
841 // PlzNavigate | 841 // PlzNavigate |
842 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 842 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
843 // of the WebURLRequest. | 843 // of the WebURLRequest. |
844 void BeginNavigation(blink::WebURLRequest* request); | 844 void BeginNavigation(blink::WebURLRequest* request); |
845 | 845 |
846 // Loads a data url. | 846 // Loads a data url. |
847 void LoadDataURL(const CommonNavigationParams& params, | 847 void LoadDataURL(const CommonNavigationParams& params, |
848 blink::WebFrame* frame); | 848 blink::WebFrame* frame); |
| 849 void LoadDataWithBaseURL(const CommonNavigationParams& params, |
| 850 blink::WebFrame* frame); |
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 |