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

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

Issue 30323002: [DRAFT] Create RenderFrameHostManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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 int64 frame_tree_node_id;
69
68 // Any redirect URLs that occurred for this navigation before |url|. 70 // Any redirect URLs that occurred for this navigation before |url|.
69 // Usually empty. 71 // Usually empty.
70 std::vector<GURL> redirect_chain; 72 std::vector<GURL> redirect_chain;
71 73
72 // Indicates whether this navigation will be sent using POST. 74 // Indicates whether this navigation will be sent using POST.
73 // The POST method is limited support for basic POST data by leveraging 75 // The POST method is limited support for basic POST data by leveraging
74 // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST. 76 // NavigationController::LOAD_TYPE_BROWSER_INITIATED_HTTP_POST.
75 // It is not for things like file uploads. 77 // It is not for things like file uploads.
76 bool uses_post; 78 bool uses_post;
77 79
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 // Navigates according to the configuration specified in |params|. 241 // Navigates according to the configuration specified in |params|.
240 void Navigate(NavigateParams* params); 242 void Navigate(NavigateParams* params);
241 243
242 // Returns true if the url is allowed to open in incognito window. 244 // Returns true if the url is allowed to open in incognito window.
243 bool IsURLAllowedInIncognito(const GURL& url, 245 bool IsURLAllowedInIncognito(const GURL& url,
244 content::BrowserContext* browser_context); 246 content::BrowserContext* browser_context);
245 247
246 } // namespace chrome 248 } // namespace chrome
247 249
248 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ 250 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698