| Index: chrome/browser/ui/views/profiles/profile_chooser_view.h
|
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.h b/chrome/browser/ui/views/profiles/profile_chooser_view.h
|
| index d9b59812d1169b414a1797ffc4ee645fc86132d6..cc868d539a68424ff6795206332eabcbde378009 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
|
| @@ -166,21 +166,32 @@ class ProfileChooserView : public content::WebContentsDelegate,
|
| // Close the tutorial card.
|
| void DismissTutorial();
|
|
|
| + // Returns true if the Welcome/Upgrade tutorial bubble should be shown to the
|
| + // user, false otherwise.
|
| + bool ShouldShowWelcomeUpgradeTutorial();
|
| +
|
| + // Returns true if the tutorial informing the user about right-click user
|
| + // switching should be shown, false otherwise.
|
| + bool ShouldShowRightClickTutorialView();
|
| +
|
| // Creates a tutorial card to introduce an upgrade user to the new avatar
|
| - // menu if needed. |tutorial_shown| indicates if the tutorial has already been
|
| - // shown in the previous active view. |avatar_item| refers to the current
|
| - // profile.
|
| - views::View* CreateWelcomeUpgradeTutorialViewIfNeeded(
|
| - bool tutorial_shown, const AvatarMenu::Item& avatar_item);
|
| + // menu. |avatar_item| refers to the current profile.
|
| + views::View* CreateWelcomeUpgradeTutorialView(
|
| + const AvatarMenu::Item& avatar_item);
|
|
|
| // Creates a tutorial card to have the user confirm the last Chrome signin,
|
| // Chrome sync will be delayed until the user either dismisses the tutorial,
|
| // or configures sync through the "Settings" link.
|
| views::View* CreateSigninConfirmationView();
|
|
|
| - // Creates a a tutorial card to show the errors in the last Chrome signin.
|
| + // Creates a tutorial card to show the errors in the last Chrome signin.
|
| views::View* CreateSigninErrorView();
|
|
|
| + // Creates a tutorial card telling the user about right-click user switching.
|
| + views::View* CreateRightClickTutorialView();
|
| +
|
| + views::View* CreateTutorialViewIfNeeded(const AvatarMenu::Item& item);
|
| +
|
| // Creates a tutorial card. If |stack_button| is true, places the button above
|
| // the link otherwise places both on the same row with the link left aligned
|
| // and button right aligned. The method sets |link| to point to the newly
|
|
|