Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: chrome/browser/ui/views/user_manager_view.h

Issue 199533004: [Mac, Win] Show a user manager tutorial once per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/user_manager_view.h
diff --git a/chrome/browser/ui/views/user_manager_view.h b/chrome/browser/ui/views/user_manager_view.h
index 22b4ce7ed538e4ded3826f8b403bc52d4abeb9de..475c571cb5236f84bcaaf57272c4a1ea7e81b38a 100644
--- a/chrome/browser/ui/views/user_manager_view.h
+++ b/chrome/browser/ui/views/user_manager_view.h
@@ -17,8 +17,11 @@ class WebView;
// Dialog widget that contains the Desktop User Manager webui.
class UserManagerView : public views::DialogDelegateView {
public:
- // Shows the User Manager or re-activates an existing one.
- static void Show(const base::FilePath& profile_path_to_focus);
+ // Shows the User Manager or re-activates an existing one, focusing the
+ // profile given by |profile_path_to_focus|. If |show_tutorial| is true,
+ // then the user manager tutorial will be shown.
+ static void Show(const base::FilePath& profile_path_to_focus,
+ bool show_tutorial);
// Hide the User Manager.
static void Hide();
@@ -34,6 +37,7 @@ class UserManagerView : public views::DialogDelegateView {
// |status|), creates a new UserManagerView instance with the user with path
// |profile_path_to_focus| focused.
static void OnGuestProfileCreated(const base::FilePath& profile_path_to_focus,
+ bool show_tutorial,
Profile* guest_profile,
Profile::CreateStatus status);

Powered by Google App Engine
This is Rietveld 408576698