| 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_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_MAC_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_MAC_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/signin/signin_promo.h" | 8 #include "chrome/browser/signin/signin_promo.h" |
| 9 #include "chrome/browser/ui/chrome_pages.h" | 9 #include "chrome/browser/ui/chrome_pages.h" |
| 10 | 10 |
| 11 class Profile; | 11 class Profile; |
| 12 | 12 |
| 13 namespace chrome { | 13 namespace chrome { |
| 14 | 14 |
| 15 // Open a new window with history/downloads/help/options (needed on Mac when | 15 // Open a new window with history/downloads/help/options (needed on Mac when |
| 16 // there are no windows). | 16 // there are no windows). |
| 17 void OpenAboutWindow(Profile* profile); | 17 void OpenAboutWindow(Profile* profile); |
| 18 void OpenHistoryWindow(Profile* profile); | 18 void OpenHistoryWindow(Profile* profile); |
| 19 void OpenDownloadsWindow(Profile* profile); | 19 void OpenDownloadsWindow(Profile* profile); |
| 20 void OpenHelpWindow(Profile* profile, HelpSource source); | 20 void OpenHelpWindow(Profile* profile, HelpSource source); |
| 21 void OpenOptionsWindow(Profile* profile); | 21 void OpenOptionsWindow(Profile* profile); |
| 22 void OpenSyncSetupWindow(Profile* profile, signin_metrics::Source source); | 22 void OpenSyncSetupWindow(Profile* profile, |
| 23 signin_metrics::AccessPoint access_point); |
| 23 void OpenClearBrowsingDataDialogWindow(Profile* profile); | 24 void OpenClearBrowsingDataDialogWindow(Profile* profile); |
| 24 void OpenImportSettingsDialogWindow(Profile* profile); | 25 void OpenImportSettingsDialogWindow(Profile* profile); |
| 25 void OpenBookmarkManagerWindow(Profile* profile); | 26 void OpenBookmarkManagerWindow(Profile* profile); |
| 26 void OpenExtensionsWindow(Profile* profile); | 27 void OpenExtensionsWindow(Profile* profile); |
| 27 | 28 |
| 28 } // namespace chrome | 29 } // namespace chrome |
| 29 | 30 |
| 30 #endif // CHROME_BROWSER_UI_BROWSER_MAC_H_ | 31 #endif // CHROME_BROWSER_UI_BROWSER_MAC_H_ |
| OLD | NEW |