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

Side by Side Diff: chrome/browser/ui/browser_navigator.h

Issue 77673003: Add frame_tree_node_id to navigation parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 content::WebContents* a_target_contents); 58 content::WebContents* a_target_contents);
59 NavigateParams(Profile* profile, 59 NavigateParams(Profile* profile,
60 const GURL& a_url, 60 const GURL& a_url,
61 content::PageTransition a_transition); 61 content::PageTransition a_transition);
62 ~NavigateParams(); 62 ~NavigateParams();
63 63
64 // The URL/referrer to be loaded. Ignored if |target_contents| is non-NULL. 64 // The URL/referrer to be loaded. Ignored if |target_contents| is non-NULL.
65 GURL url; 65 GURL url;
66 content::Referrer referrer; 66 content::Referrer referrer;
67 67
68 // The browser-global ID of the frame to navigate, or -1 for the main frame.
69 int64 frame_tree_node_id;
70
68 // Any redirect URLs that occurred for this navigation before |url|. 71 // Any redirect URLs that occurred for this navigation before |url|.
69 // Usually empty. 72 // Usually empty.
70 std::vector<GURL> redirect_chain; 73 std::vector<GURL> redirect_chain;
71 74
72 // Indicates whether this navigation will be sent using POST. 75 // Indicates whether this navigation will be sent using POST.
73 // The POST method is limited support for basic POST data by leveraging 76 // The POST method is limited support for basic POST data by leveraging
74 // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST. 77 // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST.
75 // It is not for things like file uploads. 78 // It is not for things like file uploads.
76 bool uses_post; 79 bool uses_post;
77 80
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // Navigates according to the configuration specified in |params|. 242 // Navigates according to the configuration specified in |params|.
240 void Navigate(NavigateParams* params); 243 void Navigate(NavigateParams* params);
241 244
242 // Returns true if the url is allowed to open in incognito window. 245 // Returns true if the url is allowed to open in incognito window.
243 bool IsURLAllowedInIncognito(const GURL& url, 246 bool IsURLAllowedInIncognito(const GURL& url,
244 content::BrowserContext* browser_context); 247 content::BrowserContext* browser_context);
245 248
246 } // namespace chrome 249 } // namespace chrome
247 250
248 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 251 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698