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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 1120013003: Add right-click user switching tutorial bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 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/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..e3121c9f8f7be6b7959b867ee81555a4e6d2c0a0 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.h
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.h
@@ -167,20 +167,23 @@ class ProfileChooserView : public content::WebContentsDelegate,
void DismissTutorial();
// 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
« no previous file with comments | « chrome/browser/ui/profile_chooser_constants.h ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698