| 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/signin/signin_promo.h" | 10 #include "chrome/browser/signin/signin_promo.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 void ShowDownloads(Browser* browser); | 38 void ShowDownloads(Browser* browser); |
| 39 void ShowExtensions(Browser* browser, | 39 void ShowExtensions(Browser* browser, |
| 40 const std::string& extension_to_highlight); | 40 const std::string& extension_to_highlight); |
| 41 void ShowConflicts(Browser* browser); | 41 void ShowConflicts(Browser* browser); |
| 42 void ShowFeedbackPage(Browser* browser, | 42 void ShowFeedbackPage(Browser* browser, |
| 43 const std::string& description_template, | 43 const std::string& description_template, |
| 44 const std::string& category_tag); | 44 const std::string& category_tag); |
| 45 | 45 |
| 46 void ShowHelp(Browser* browser, HelpSource source); | 46 void ShowHelp(Browser* browser, HelpSource source); |
| 47 void ShowPolicy(Browser* browser); | 47 void ShowPolicy(Browser* browser); |
| 48 void ShowSlow(Browser* browser); |
| 48 | 49 |
| 49 // Various things that open in a settings UI. | 50 // Various things that open in a settings UI. |
| 50 void ShowSettings(Browser* browser); | 51 void ShowSettings(Browser* browser); |
| 51 void ShowSettingsSubPage(Browser* browser, const std::string& sub_page); | 52 void ShowSettingsSubPage(Browser* browser, const std::string& sub_page); |
| 52 void ShowContentSettings(Browser* browser, | 53 void ShowContentSettings(Browser* browser, |
| 53 ContentSettingsType content_settings_type); | 54 ContentSettingsType content_settings_type); |
| 54 void ShowClearBrowsingDataDialog(Browser* browser); | 55 void ShowClearBrowsingDataDialog(Browser* browser); |
| 55 void ShowPasswordManager(Browser* browser); | 56 void ShowPasswordManager(Browser* browser); |
| 56 void ShowImportDialog(Browser* browser); | 57 void ShowImportDialog(Browser* browser); |
| 57 void ShowAboutChrome(Browser* browser); | 58 void ShowAboutChrome(Browser* browser); |
| 58 void ShowSearchEngineSettings(Browser* browser); | 59 void ShowSearchEngineSettings(Browser* browser); |
| 59 // If the user is already signed in, shows the "Signin" portion of Settings, | 60 // If the user is already signed in, shows the "Signin" portion of Settings, |
| 60 // otherwise initiates signin. | 61 // otherwise initiates signin. |
| 61 void ShowBrowserSignin(Browser* browser, signin::Source source); | 62 void ShowBrowserSignin(Browser* browser, signin::Source source); |
| 62 | 63 |
| 63 // Open a tab to sign into GAIA. | 64 // Open a tab to sign into GAIA. |
| 64 void ShowGaiaSignin(Browser* browser, | 65 void ShowGaiaSignin(Browser* browser, |
| 65 const std::string& service, | 66 const std::string& service, |
| 66 const GURL& continue_url); | 67 const GURL& continue_url); |
| 67 | 68 |
| 68 } // namespace chrome | 69 } // namespace chrome |
| 69 | 70 |
| 70 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 71 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
| OLD | NEW |