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/host_desktop.h" | 10 #include "chrome/browser/ui/host_desktop.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 void ShowContentSettings(Browser* browser, | 83 void ShowContentSettings(Browser* browser, |
84 ContentSettingsType content_settings_type); | 84 ContentSettingsType content_settings_type); |
85 void ShowSettingsSubPageInTabbedBrowser(Browser* browser, | 85 void ShowSettingsSubPageInTabbedBrowser(Browser* browser, |
86 const std::string& sub_page); | 86 const std::string& sub_page); |
87 void ShowClearBrowsingDataDialog(Browser* browser); | 87 void ShowClearBrowsingDataDialog(Browser* browser); |
88 void ShowPasswordManager(Browser* browser); | 88 void ShowPasswordManager(Browser* browser); |
89 void ShowImportDialog(Browser* browser); | 89 void ShowImportDialog(Browser* browser); |
90 void ShowAboutChrome(Browser* browser); | 90 void ShowAboutChrome(Browser* browser); |
91 void ShowSearchEngineSettings(Browser* browser); | 91 void ShowSearchEngineSettings(Browser* browser); |
92 | 92 |
93 #if !defined(OS_ANDROID) && !defined(OS_IOS) | 93 #if !defined(ANDROID_JAVA_UI) && !defined(OS_IOS) |
94 // Initiates signin in a new browser tab. | 94 // Initiates signin in a new browser tab. |
95 void ShowBrowserSignin(Browser* browser, signin_metrics::Source source); | 95 void ShowBrowserSignin(Browser* browser, signin_metrics::Source source); |
96 | 96 |
97 // If the user is already signed in, shows the "Signin" portion of Settings, | 97 // If the user is already signed in, shows the "Signin" portion of Settings, |
98 // otherwise initiates signin in a new browser tab. | 98 // otherwise initiates signin in a new browser tab. |
99 void ShowBrowserSigninOrSettings(Browser* browser, | 99 void ShowBrowserSigninOrSettings(Browser* browser, |
100 signin_metrics::Source source); | 100 signin_metrics::Source source); |
101 #endif | 101 #endif |
102 | 102 |
103 } // namespace chrome | 103 } // namespace chrome |
104 | 104 |
105 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ | 105 #endif // CHROME_BROWSER_UI_CHROME_PAGES_H_ |
OLD | NEW |