| 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_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "chrome/browser/profiles/profile_window.h" | 9 #include "chrome/browser/profiles/profile_window.h" |
| 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" | 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, | 91 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, |
| 92 SkColor initial_color); | 92 SkColor initial_color); |
| 93 | 93 |
| 94 void ShowProfileSigninConfirmationDialog( | 94 void ShowProfileSigninConfirmationDialog( |
| 95 Browser* browser, | 95 Browser* browser, |
| 96 content::WebContents* web_contents, | 96 content::WebContents* web_contents, |
| 97 Profile* profile, | 97 Profile* profile, |
| 98 const std::string& username, | 98 const std::string& username, |
| 99 ui::ProfileSigninConfirmationDelegate* delegate); | 99 ui::ProfileSigninConfirmationDelegate* delegate); |
| 100 | 100 |
| 101 | |
| 102 // Shows the Desktop User Manager with the |profile_path_to_focus| user focused. | |
| 103 void ShowUserManager(const base::FilePath& profile_path_to_focus); | |
| 104 | |
| 105 // Shows the Desktop User Manager with a specific |tutorial|. | |
| 106 void ShowUserManagerWithTutorial(profiles::UserManagerTutorialMode tutorial); | |
| 107 | |
| 108 // Hides the User Manager. | |
| 109 void HideUserManager(); | |
| 110 | |
| 111 // Shows the Signed Certificate Timestamps viewer, to view the signed | 101 // Shows the Signed Certificate Timestamps viewer, to view the signed |
| 112 // certificate timestamps in |sct_ids_list| | 102 // certificate timestamps in |sct_ids_list| |
| 113 void ShowSignedCertificateTimestampsViewer( | 103 void ShowSignedCertificateTimestampsViewer( |
| 114 content::WebContents* web_contents, | 104 content::WebContents* web_contents, |
| 115 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); | 105 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); |
| 116 | 106 |
| 117 // Shows the ManagePasswords bubble for a particular |web_contents|. | 107 // Shows the ManagePasswords bubble for a particular |web_contents|. |
| 118 void ShowManagePasswordsBubble(content::WebContents* web_contents); | 108 void ShowManagePasswordsBubble(content::WebContents* web_contents); |
| 119 | 109 |
| 120 // Closes the bubble if it's shown for |web_contents|. | 110 // Closes the bubble if it's shown for |web_contents|. |
| 121 void CloseManagePasswordsBubble(content::WebContents* web_contents); | 111 void CloseManagePasswordsBubble(content::WebContents* web_contents); |
| 122 | 112 |
| 123 } // namespace chrome | 113 } // namespace chrome |
| 124 | 114 |
| 125 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 115 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |