| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 const std::string& username, | 98 const std::string& username, |
| 99 ui::ProfileSigninConfirmationDelegate* delegate); | 99 ui::ProfileSigninConfirmationDelegate* delegate); |
| 100 | 100 |
| 101 | 101 |
| 102 // Shows the Desktop User Manager with the |profile_path_to_focus| user focused. | 102 // Shows the Desktop User Manager with the |profile_path_to_focus| user focused. |
| 103 void ShowUserManager(const base::FilePath& profile_path_to_focus); | 103 void ShowUserManager(const base::FilePath& profile_path_to_focus); |
| 104 | 104 |
| 105 // Shows the Desktop User Manager with a specific |tutorial|. | 105 // Shows the Desktop User Manager with a specific |tutorial|. |
| 106 void ShowUserManagerWithTutorial(profiles::UserManagerTutorialMode tutorial); | 106 void ShowUserManagerWithTutorial(profiles::UserManagerTutorialMode tutorial); |
| 107 | 107 |
| 108 // Shows the Desktop User Manager and Task Manager with the chosen profile. |
| 109 void ShowUserManagerThenTaskManager(); |
| 110 |
| 111 // Shows the Desktop User Manager and About Chrome page with the chosen profile. |
| 112 void ShowUserManagerThenAboutChrome(); |
| 113 |
| 108 // Hides the User Manager. | 114 // Hides the User Manager. |
| 109 void HideUserManager(); | 115 void HideUserManager(); |
| 110 | 116 |
| 111 // Shows the Signed Certificate Timestamps viewer, to view the signed | 117 // Shows the Signed Certificate Timestamps viewer, to view the signed |
| 112 // certificate timestamps in |sct_ids_list| | 118 // certificate timestamps in |sct_ids_list| |
| 113 void ShowSignedCertificateTimestampsViewer( | 119 void ShowSignedCertificateTimestampsViewer( |
| 114 content::WebContents* web_contents, | 120 content::WebContents* web_contents, |
| 115 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); | 121 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); |
| 116 | 122 |
| 117 // Shows the ManagePasswords bubble for a particular |web_contents|. | 123 // Shows the ManagePasswords bubble for a particular |web_contents|. |
| 118 void ShowManagePasswordsBubble(content::WebContents* web_contents); | 124 void ShowManagePasswordsBubble(content::WebContents* web_contents); |
| 119 | 125 |
| 120 } // namespace chrome | 126 } // namespace chrome |
| 121 | 127 |
| 122 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 128 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |