Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2004653002: OpenURL post data handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@post-data-my-stuff
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 #elif defined(OS_MACOSX) 826 #elif defined(OS_MACOSX)
827 void OnSelectPopupMenuItem(int selected_index); 827 void OnSelectPopupMenuItem(int selected_index);
828 void OnCopyToFindPboard(); 828 void OnCopyToFindPboard();
829 #endif 829 #endif
830 830
831 // Requests that the browser process navigates to |url|. If 831 // Requests that the browser process navigates to |url|. If
832 // |is_history_navigation_in_new_child| is true, the browser process should 832 // |is_history_navigation_in_new_child| is true, the browser process should
833 // look for a matching FrameNavigationEntry in the last committed entry to use 833 // look for a matching FrameNavigationEntry in the last committed entry to use
834 // instead of |url|. 834 // instead of |url|.
835 void OpenURL(const GURL& url, 835 void OpenURL(const GURL& url,
836 const std::string& method,
837 const scoped_refptr<ResourceRequestBody>& resource_request_body,
836 const Referrer& referrer, 838 const Referrer& referrer,
837 blink::WebNavigationPolicy policy, 839 blink::WebNavigationPolicy policy,
838 bool should_replace_current_entry, 840 bool should_replace_current_entry,
839 bool is_history_navigation_in_new_child); 841 bool is_history_navigation_in_new_child);
840 842
841 // Performs a navigation in the frame. This provides a unified function for 843 // Performs a navigation in the frame. This provides a unified function for
842 // the current code path and the browser-side navigation path (in 844 // the current code path and the browser-side navigation path (in
843 // development). Currently used by OnNavigate, with all *NavigationParams 845 // development). Currently used by OnNavigate, with all *NavigationParams
844 // provided by the browser. |stream_params| should be null. 846 // provided by the browser. |stream_params| should be null.
845 // PlzNavigate: used by OnCommitNavigation, with |common_params| and 847 // PlzNavigate: used by OnCommitNavigation, with |common_params| and
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
1244 #endif 1246 #endif
1245 1247
1246 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1248 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1247 1249
1248 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1250 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1249 }; 1251 };
1250 1252
1251 } // namespace content 1253 } // namespace content
1252 1254
1253 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1255 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698