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_CHROME_PAGES_H_ | 5 #ifndef CHROME_BROWSER_UI_CHROME_PAGES_H_ |
6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ | 6 #define CHROME_BROWSER_UI_CHROME_PAGES_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" | 10 #include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // Various things that open in a settings UI. | 48 // Various things that open in a settings UI. |
49 void ShowSettings(Browser* browser); | 49 void ShowSettings(Browser* browser); |
50 void ShowSettingsSubPage(Browser* browser, const std::string& sub_page); | 50 void ShowSettingsSubPage(Browser* browser, const std::string& sub_page); |
51 void ShowContentSettings(Browser* browser, | 51 void ShowContentSettings(Browser* browser, |
52 ContentSettingsType content_settings_type); | 52 ContentSettingsType content_settings_type); |
53 void ShowClearBrowsingDataDialog(Browser* browser); | 53 void ShowClearBrowsingDataDialog(Browser* browser); |
54 void ShowPasswordManager(Browser* browser); | 54 void ShowPasswordManager(Browser* browser); |
55 void ShowImportDialog(Browser* browser); | 55 void ShowImportDialog(Browser* browser); |
56 void ShowAboutChrome(Browser* browser); | 56 void ShowAboutChrome(Browser* browser); |
57 void ShowSearchEngineSettings(Browser* browser); | 57 void ShowSearchEngineSettings(Browser* browser); |
58 void ShowSyncSetup(Browser* browser, SyncPromoUI::Source source); | 58 // If the user is already signed in, shows the "Signin" portion of Settings, |
| 59 // otherwise initiates signin. |
| 60 void ShowBrowserSignin(Browser* browser, SyncPromoUI::Source source); |
59 | 61 |
60 // Open a tab to sign into GAIA. | 62 // Open a tab to sign into GAIA. |
61 void ShowGaiaSignin(Browser* browser, | 63 void ShowGaiaSignin(Browser* browser, |
62 const std::string& service, | 64 const std::string& service, |
63 const GURL& continue_url); | 65 const GURL& continue_url); |
64 | 66 |
65 } // namespace chrome | 67 } // namespace chrome |
66 | 68 |
67 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 69 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
OLD | NEW |