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

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

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS Created 5 years, 3 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 (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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698