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

Side by Side Diff: content/browser/frame_host/navigation_request.h

Issue 2697753002: PlzNavigate: Fix dynamic iframe back forward layout test failure (Closed)
Patch Set: Renamed is_user_gesture to has_user_gesture Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 static std::unique_ptr<NavigationRequest> CreateBrowserInitiated( 74 static std::unique_ptr<NavigationRequest> CreateBrowserInitiated(
75 FrameTreeNode* frame_tree_node, 75 FrameTreeNode* frame_tree_node,
76 const GURL& dest_url, 76 const GURL& dest_url,
77 const Referrer& dest_referrer, 77 const Referrer& dest_referrer,
78 const FrameNavigationEntry& frame_entry, 78 const FrameNavigationEntry& frame_entry,
79 const NavigationEntryImpl& entry, 79 const NavigationEntryImpl& entry,
80 FrameMsg_Navigate_Type::Value navigation_type, 80 FrameMsg_Navigate_Type::Value navigation_type,
81 PreviewsState previews_state, 81 PreviewsState previews_state,
82 bool is_same_document_history_load, 82 bool is_same_document_history_load,
83 bool is_history_navigation_in_new_child, 83 bool is_history_navigation_in_new_child,
84 bool has_user_gesture,
84 const base::TimeTicks& navigation_start, 85 const base::TimeTicks& navigation_start,
85 NavigationControllerImpl* controller); 86 NavigationControllerImpl* controller);
86 87
87 // Creates a request for a renderer-intiated navigation. 88 // Creates a request for a renderer-intiated navigation.
88 // Note: |body| is sent to the IO thread when calling BeginNavigation, and 89 // Note: |body| is sent to the IO thread when calling BeginNavigation, and
89 // should no longer be manipulated afterwards on the UI thread. 90 // should no longer be manipulated afterwards on the UI thread.
90 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid 91 // TODO(clamy): see if ResourceRequestBody could be un-refcounted to avoid
91 // threading subtleties. 92 // threading subtleties.
92 static std::unique_ptr<NavigationRequest> CreateRendererInitiated( 93 static std::unique_ptr<NavigationRequest> CreateRendererInitiated(
93 FrameTreeNode* frame_tree_node, 94 FrameTreeNode* frame_tree_node,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 std::unique_ptr<StreamHandle> body_; 255 std::unique_ptr<StreamHandle> body_;
255 256
256 base::Closure on_start_checks_complete_closure_; 257 base::Closure on_start_checks_complete_closure_;
257 258
258 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 259 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
259 }; 260 };
260 261
261 } // namespace content 262 } // namespace content
262 263
263 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 264 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_request.cc » ('j') | content/browser/frame_host/navigator_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698