DescriptionAdd right-click user switching tutorial bubble.
This design is based on this mock: https://drive.google.com/a/chromium.org/file/d/0B-DVbqI3huZGZGhIcTFtRWRTSTA/view?usp=sharing
BUG=458664
TEST=
1. Launch chrome and make sure there is more than one available profile.
2. Left-click on the Avatar Button.
3. A tutorial bubble should be displayed informing the user they can
right-click the button to see other users.
4. Close the bubble without dismissing the tutorial, for example by
clicking in the content area.
5. Reopening the Avatar Menu should still display the tutorial until it
is explicitly dismissed (clicking the X or the "Ok, got it!" button)
or until the user right clicks the button.
6. Once dismissed, the tutorial should never be shown again.
Committed: https://crrev.com/b7bdcdec6cbab0f4b395f35100954e4a47820194
Cr-Commit-Position: refs/heads/master@{#330565}
Patch Set 1 #Patch Set 2 : Only show the tutorial when there's a potential switch target. #Patch Set 3 : Make the pref per-chrome instead of per-profile. #
Total comments: 15
Patch Set 4 : Address feedback and refactor profile choice logic. #Patch Set 5 : Fix Mac build. #
Total comments: 5
Patch Set 6 : Added tests. #
Total comments: 7
Patch Set 7 : Factor out ShouldShow*Tutorial methods to profile_window. #
Total comments: 2
Patch Set 8 : Remove unused declarations #Patch Set 9 : Changed ObjCCast to ObjCCastStrict in tests. #Patch Set 10 : Rebase #Messages
Total messages: 31 (5 generated)
|