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" |
11 #include "base/memory/ref_counted_memory.h" | 11 #include "base/memory/ref_counted_memory.h" |
12 #include "chrome/browser/ui/host_desktop.h" | |
13 #include "content/public/browser/browser_context.h" | 12 #include "content/public/browser/browser_context.h" |
14 #include "content/public/browser/global_request_id.h" | 13 #include "content/public/browser/global_request_id.h" |
15 #include "content/public/browser/page_navigator.h" | 14 #include "content/public/browser/page_navigator.h" |
16 #include "content/public/browser/site_instance.h" | 15 #include "content/public/browser/site_instance.h" |
17 #include "content/public/common/referrer.h" | 16 #include "content/public/common/referrer.h" |
18 #include "ui/base/page_transition_types.h" | 17 #include "ui/base/page_transition_types.h" |
19 #include "ui/base/window_open_disposition.h" | 18 #include "ui/base/window_open_disposition.h" |
20 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
| 20 #include "ui/gfx/host_desktop_type.h" |
21 #include "url/gurl.h" | 21 #include "url/gurl.h" |
22 | 22 |
23 class Browser; | 23 class Browser; |
24 class Profile; | 24 class Profile; |
25 | 25 |
26 namespace content { | 26 namespace content { |
27 class WebContents; | 27 class WebContents; |
28 } | 28 } |
29 | 29 |
30 namespace chrome { | 30 namespace chrome { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |