OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 NavigateParams(); | 184 NavigateParams(); |
185 }; | 185 }; |
186 | 186 |
187 // Navigates according to the configuration specified in |params|. | 187 // Navigates according to the configuration specified in |params|. |
188 void Navigate(NavigateParams* params); | 188 void Navigate(NavigateParams* params); |
189 | 189 |
190 // If the given navigational URL is a Singleton, return the tab index for it. | 190 // If the given navigational URL is a Singleton, return the tab index for it. |
191 // Otherwise, returns -1. | 191 // Otherwise, returns -1. |
192 int GetIndexOfSingletonTab(NavigateParams* params); | 192 int GetIndexOfSingletonTab(NavigateParams* params); |
193 | 193 |
194 // Returns true if the url is not allowed to open in incognito window. | 194 // Returns true if the url is allowed to open in incognito window. |
binji
2011/11/17 01:23:51
This comment was inconsistent with the function na
| |
195 // Currently, chrome://settings, the bookmark manager, and chrome://extensions | |
196 // are part this list. | |
197 bool IsURLAllowedInIncognito(const GURL& url); | 195 bool IsURLAllowedInIncognito(const GURL& url); |
198 | 196 |
199 } // namespace browser | 197 } // namespace browser |
200 | 198 |
201 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ | 199 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_H_ |
OLD | NEW |