| 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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 bool success); | 887 bool success); |
| 888 | 888 |
| 889 // Requests that the browser process navigates to |url|. If | 889 // Requests that the browser process navigates to |url|. If |
| 890 // |is_history_navigation_in_new_child| is true, the browser process should | 890 // |is_history_navigation_in_new_child| is true, the browser process should |
| 891 // look for a matching FrameNavigationEntry in the last committed entry to use | 891 // look for a matching FrameNavigationEntry in the last committed entry to use |
| 892 // instead of |url|. | 892 // instead of |url|. |
| 893 void OpenURL( | 893 void OpenURL( |
| 894 const GURL& url, | 894 const GURL& url, |
| 895 bool uses_post, | 895 bool uses_post, |
| 896 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, | 896 const scoped_refptr<ResourceRequestBodyImpl>& resource_request_body, |
| 897 const std::string& extra_headers, |
| 897 const Referrer& referrer, | 898 const Referrer& referrer, |
| 898 blink::WebNavigationPolicy policy, | 899 blink::WebNavigationPolicy policy, |
| 899 bool should_replace_current_entry, | 900 bool should_replace_current_entry, |
| 900 bool is_history_navigation_in_new_child); | 901 bool is_history_navigation_in_new_child); |
| 901 | 902 |
| 902 // Performs a navigation in the frame. This provides a unified function for | 903 // Performs a navigation in the frame. This provides a unified function for |
| 903 // the current code path and the browser-side navigation path (in | 904 // the current code path and the browser-side navigation path (in |
| 904 // development). Currently used by OnNavigate, with all *NavigationParams | 905 // development). Currently used by OnNavigate, with all *NavigationParams |
| 905 // provided by the browser. |stream_params| should be null. | 906 // provided by the browser. |stream_params| should be null. |
| 906 // PlzNavigate: used by OnCommitNavigation, with |common_params| and | 907 // PlzNavigate: used by OnCommitNavigation, with |common_params| and |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1326 bool name_changed_before_first_commit_ = false; | 1327 bool name_changed_before_first_commit_ = false; |
| 1327 | 1328 |
| 1328 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1329 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1329 | 1330 |
| 1330 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1331 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1331 }; | 1332 }; |
| 1332 | 1333 |
| 1333 } // namespace content | 1334 } // namespace content |
| 1334 | 1335 |
| 1335 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1336 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |