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

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

Issue 8588013: Fix crash in SyncSetupWizard::IsVisible() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 years 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 | Annotate | Revision Log
OLDNEW
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
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.
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_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module.cc ('k') | chrome/browser/ui/browser_navigator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698