| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 #endif | 871 #endif |
| 872 | 872 |
| 873 // Requests that the browser process navigates to |url|. If | 873 // Requests that the browser process navigates to |url|. If |
| 874 // |is_history_navigation_in_new_child| is true, the browser process should | 874 // |is_history_navigation_in_new_child| is true, the browser process should |
| 875 // look for a matching FrameNavigationEntry in the last committed entry to use | 875 // look for a matching FrameNavigationEntry in the last committed entry to use |
| 876 // instead of |url|. | 876 // instead of |url|. |
| 877 void OpenURL( | 877 void OpenURL( |
| 878 const GURL& url, | 878 const GURL& url, |
| 879 bool uses_post, | 879 bool uses_post, |
| 880 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, | 880 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, |
| 881 const std::string& extra_headers, |
| 881 const Referrer& referrer, | 882 const Referrer& referrer, |
| 882 blink::WebNavigationPolicy policy, | 883 blink::WebNavigationPolicy policy, |
| 883 bool should_replace_current_entry, | 884 bool should_replace_current_entry, |
| 884 bool is_history_navigation_in_new_child); | 885 bool is_history_navigation_in_new_child); |
| 885 | 886 |
| 886 // Performs a navigation in the frame. This provides a unified function for | 887 // Performs a navigation in the frame. This provides a unified function for |
| 887 // the current code path and the browser-side navigation path (in | 888 // the current code path and the browser-side navigation path (in |
| 888 // development). Currently used by OnNavigate, with all *NavigationParams | 889 // development). Currently used by OnNavigate, with all *NavigationParams |
| 889 // provided by the browser. |stream_params| should be null. | 890 // provided by the browser. |stream_params| should be null. |
| 890 // PlzNavigate: used by OnCommitNavigation, with |common_params| and | 891 // PlzNavigate: used by OnCommitNavigation, with |common_params| and |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 remote_associated_interfaces_; | 1286 remote_associated_interfaces_; |
| 1286 | 1287 |
| 1287 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1288 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1288 | 1289 |
| 1289 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1290 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1290 }; | 1291 }; |
| 1291 | 1292 |
| 1292 } // namespace content | 1293 } // namespace content |
| 1293 | 1294 |
| 1294 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1295 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |