OLD | NEW |
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // browser passed in via |browser|, it's profile will be used instead. | 218 // browser passed in via |browser|, it's profile will be used instead. |
219 Profile* initiating_profile; | 219 Profile* initiating_profile; |
220 | 220 |
221 // Refers to a navigation that was parked in the browser in order to be | 221 // Refers to a navigation that was parked in the browser in order to be |
222 // transferred to another RVH. Only used in case of a redirection of a request | 222 // transferred to another RVH. Only used in case of a redirection of a request |
223 // to a different site that created a new RVH. | 223 // to a different site that created a new RVH. |
224 content::GlobalRequestID transferred_global_request_id; | 224 content::GlobalRequestID transferred_global_request_id; |
225 | 225 |
226 // Refers to which desktop this navigation should occur on. May be passed | 226 // Refers to which desktop this navigation should occur on. May be passed |
227 // explicitly or inferred from an existing Browser instance. | 227 // explicitly or inferred from an existing Browser instance. |
228 chrome::HostDesktopType host_desktop_type; | 228 ui::HostDesktopType host_desktop_type; |
229 | 229 |
230 // Indicates whether this navigation should replace the current | 230 // Indicates whether this navigation should replace the current |
231 // navigation entry. | 231 // navigation entry. |
232 bool should_replace_current_entry; | 232 bool should_replace_current_entry; |
233 | 233 |
234 // Indicates whether |target_contents| is being created with a window.opener. | 234 // Indicates whether |target_contents| is being created with a window.opener. |
235 bool created_with_opener; | 235 bool created_with_opener; |
236 | 236 |
237 // SiteInstance of the frame that initiated the navigation or null if we | 237 // SiteInstance of the frame that initiated the navigation or null if we |
238 // don't know it. This should be assigned from the OpenURLParams of the | 238 // don't know it. This should be assigned from the OpenURLParams of the |
(...skipping 13 matching lines...) Expand all Loading... |
252 // Navigates according to the configuration specified in |params|. | 252 // Navigates according to the configuration specified in |params|. |
253 void Navigate(NavigateParams* params); | 253 void Navigate(NavigateParams* params); |
254 | 254 |
255 // Returns true if the url is allowed to open in incognito window. | 255 // Returns true if the url is allowed to open in incognito window. |
256 bool IsURLAllowedInIncognito(const GURL& url, | 256 bool IsURLAllowedInIncognito(const GURL& url, |
257 content::BrowserContext* browser_context); | 257 content::BrowserContext* browser_context); |
258 | 258 |
259 } // namespace chrome | 259 } // namespace chrome |
260 | 260 |
261 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | 261 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
OLD | NEW |