| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 bool PrepareRenderViewForNavigation( | 756 bool PrepareRenderViewForNavigation( |
| 757 const GURL& url, | 757 const GURL& url, |
| 758 bool is_history_navigation, | 758 bool is_history_navigation, |
| 759 const RequestNavigationParams& request_params, | 759 const RequestNavigationParams& request_params, |
| 760 bool* is_reload, | 760 bool* is_reload, |
| 761 blink::WebURLRequest::CachePolicy* cache_policy); | 761 blink::WebURLRequest::CachePolicy* cache_policy); |
| 762 | 762 |
| 763 // PlzNavigate | 763 // PlzNavigate |
| 764 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents | 764 // Sends a FrameHostMsg_BeginNavigation to the browser based on the contents |
| 765 // of the WebURLRequest. | 765 // of the WebURLRequest. |
| 766 void BeginNavigation(blink::WebURLRequest* request); | 766 void BeginNavigation(blink::WebURLRequest* request, bool lock_history_list); |
| 767 | 767 |
| 768 // Loads a data url. | 768 // Loads a data url. |
| 769 void LoadDataURL(const CommonNavigationParams& params, | 769 void LoadDataURL(const CommonNavigationParams& params, |
| 770 blink::WebFrame* frame); | 770 blink::WebFrame* frame); |
| 771 | 771 |
| 772 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for | 772 // Sends a proper FrameHostMsg_DidFailProvisionalLoadWithError_Params IPC for |
| 773 // the failed request |request|. | 773 // the failed request |request|. |
| 774 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, | 774 void SendFailedProvisionalLoad(const blink::WebURLRequest& request, |
| 775 const blink::WebURLError& error, | 775 const blink::WebURLError& error, |
| 776 blink::WebLocalFrame* frame); | 776 blink::WebLocalFrame* frame); |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 981 #endif | 981 #endif |
| 982 | 982 |
| 983 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 983 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 984 | 984 |
| 985 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 985 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 986 }; | 986 }; |
| 987 | 987 |
| 988 } // namespace content | 988 } // namespace content |
| 989 | 989 |
| 990 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 990 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |