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" | 12 #include "chrome/browser/ui/host_desktop.h" |
13 #include "content/public/browser/browser_context.h" | 13 #include "content/public/browser/browser_context.h" |
14 #include "content/public/browser/global_request_id.h" | 14 #include "content/public/browser/global_request_id.h" |
15 #include "content/public/browser/page_navigator.h" | 15 #include "content/public/browser/page_navigator.h" |
16 #include "content/public/browser/site_instance.h" | 16 #include "content/public/browser/site_instance.h" |
17 #include "content/public/common/referrer.h" | 17 #include "content/public/common/referrer.h" |
18 #include "ui/base/page_transition_types.h" | 18 #include "ui/base/page_transition_types.h" |
19 #include "ui/base/window_open_disposition.h" | 19 #include "ui/base/window_open_disposition.h" |
20 #include "ui/gfx/rect.h" | 20 #include "ui/gfx/geometry/rect.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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 // Navigates according to the configuration specified in |params|. | 253 // Navigates according to the configuration specified in |params|. |
254 void Navigate(NavigateParams* params); | 254 void Navigate(NavigateParams* params); |
255 | 255 |
256 // Returns true if the url is allowed to open in incognito window. | 256 // Returns true if the url is allowed to open in incognito window. |
257 bool IsURLAllowedInIncognito(const GURL& url, | 257 bool IsURLAllowedInIncognito(const GURL& url, |
258 content::BrowserContext* browser_context); | 258 content::BrowserContext* browser_context); |
259 | 259 |
260 } // namespace chrome | 260 } // namespace chrome |
261 | 261 |
262 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | 262 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
OLD | NEW |