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 "content/public/common/signed_certificate_timestamp_id_and_status.h" | 10 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" |
10 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. | 11 #include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
11 #include "third_party/skia/include/core/SkColor.h" | 12 #include "third_party/skia/include/core/SkColor.h" |
12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
13 | 14 |
14 class Browser; | 15 class Browser; |
15 class Profile; | 16 class Profile; |
16 class SkBitmap; | 17 class SkBitmap; |
17 class TabModalConfirmDialogDelegate; | 18 class TabModalConfirmDialogDelegate; |
18 | 19 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 Browser* browser, | 95 Browser* browser, |
95 content::WebContents* web_contents, | 96 content::WebContents* web_contents, |
96 Profile* profile, | 97 Profile* profile, |
97 const std::string& username, | 98 const std::string& username, |
98 ui::ProfileSigninConfirmationDelegate* delegate); | 99 ui::ProfileSigninConfirmationDelegate* delegate); |
99 | 100 |
100 | 101 |
101 // 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. |
102 void ShowUserManager(const base::FilePath& profile_path_to_focus); | 103 void ShowUserManager(const base::FilePath& profile_path_to_focus); |
103 | 104 |
| 105 // Shows the Desktop User Manager with a specific |tutorial|. |
| 106 void ShowUserManagerWithTutorial(profiles::UserManagerTutorialMode tutorial); |
| 107 |
104 // Hides the User Manager. | 108 // Hides the User Manager. |
105 void HideUserManager(); | 109 void HideUserManager(); |
106 | 110 |
107 // Shows the Signed Certificate Timestamps viewer, to view the signed | 111 // Shows the Signed Certificate Timestamps viewer, to view the signed |
108 // certificate timestamps in |sct_ids_list| | 112 // certificate timestamps in |sct_ids_list| |
109 void ShowSignedCertificateTimestampsViewer( | 113 void ShowSignedCertificateTimestampsViewer( |
110 content::WebContents* web_contents, | 114 content::WebContents* web_contents, |
111 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); | 115 const content::SignedCertificateTimestampIDStatusList& sct_ids_list); |
112 | 116 |
113 } // namespace chrome | 117 } // namespace chrome |
114 | 118 |
115 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 119 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
OLD | NEW |