[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CHROME_BROWSER_UI_BROWSER_MAC_H_ | ||||
6 | #define CHROME_BROWSER_UI_BROWSER_MAC_H_ | ||||
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 7 | |
[email protected] | 3d27d27 | 2013-07-31 03:15:16 | [diff] [blame] | 8 | #include "chrome/browser/signin/signin_promo.h" |
[email protected] | 5d9cace7 | 2012-06-21 16:07:12 | [diff] [blame] | 9 | #include "chrome/browser/ui/chrome_pages.h" |
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 10 | |
11 | class Profile; | ||||
12 | |||||
[email protected] | 1f0b50b | 2012-06-22 20:37:16 | [diff] [blame] | 13 | namespace chrome { |
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 14 | |
15 | // Open a new window with history/downloads/help/options (needed on Mac when | ||||
16 | // there are no windows). | ||||
17 | void OpenAboutWindow(Profile* profile); | ||||
18 | void OpenHistoryWindow(Profile* profile); | ||||
19 | void OpenDownloadsWindow(Profile* profile); | ||||
[email protected] | 1f0b50b | 2012-06-22 20:37:16 | [diff] [blame] | 20 | void OpenHelpWindow(Profile* profile, HelpSource source); |
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 21 | void OpenOptionsWindow(Profile* profile); |
noms | 5fb66fe | 2014-12-17 23:01:10 | [diff] [blame] | 22 | void OpenSyncSetupWindow(Profile* profile, signin_metrics::Source source); |
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 23 | void OpenClearBrowsingDataDialogWindow(Profile* profile); |
24 | void OpenImportSettingsDialogWindow(Profile* profile); | ||||
[email protected] | 1f0b50b | 2012-06-22 20:37:16 | [diff] [blame] | 25 | void OpenBookmarkManagerWindow(Profile* profile); |
26 | void OpenExtensionsWindow(Profile* profile); | ||||
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 27 | |
[email protected] | 1f0b50b | 2012-06-22 20:37:16 | [diff] [blame] | 28 | } // namespace chrome |
[email protected] | a13b76f | 2012-06-20 15:36:29 | [diff] [blame] | 29 | |
30 | #endif // CHROME_BROWSER_UI_BROWSER_MAC_H_ |