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

Side by Side Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

Issue 2765413002: Removing fast user switcher tutorial (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 const AvatarMenu::Item& avatar_item); 163 const AvatarMenu::Item& avatar_item);
164 164
165 // Creates a tutorial card to have the user confirm the last Chrome signin, 165 // Creates a tutorial card to have the user confirm the last Chrome signin,
166 // Chrome sync will be delayed until the user either dismisses the tutorial, 166 // Chrome sync will be delayed until the user either dismisses the tutorial,
167 // or configures sync through the "Settings" link. 167 // or configures sync through the "Settings" link.
168 views::View* CreateSigninConfirmationView(); 168 views::View* CreateSigninConfirmationView();
169 169
170 // Creates a tutorial card to show the errors in the last Chrome signin. 170 // Creates a tutorial card to show the errors in the last Chrome signin.
171 views::View* CreateSigninErrorView(); 171 views::View* CreateSigninErrorView();
172 172
173 // Creates a tutorial card telling the user about right-click user switching.
174 views::View* CreateRightClickTutorialView();
175
176 views::View* CreateTutorialViewIfNeeded(const AvatarMenu::Item& item); 173 views::View* CreateTutorialViewIfNeeded(const AvatarMenu::Item& item);
177 174
178 // Creates a tutorial card. If |stack_button| is true, places the button above 175 // Creates a tutorial card. If |stack_button| is true, places the button above
179 // the link otherwise places both on the same row with the link left aligned 176 // the link otherwise places both on the same row with the link left aligned
180 // and button right aligned. The method sets |link| to point to the newly 177 // and button right aligned. The method sets |link| to point to the newly
181 // create link, |button| to the newly created button, and |tutorial_mode_| to 178 // create link, |button| to the newly created button, and |tutorial_mode_| to
182 // the given |tutorial_mode|. 179 // the given |tutorial_mode|.
183 views::View* CreateTutorialView( 180 views::View* CreateTutorialView(
184 profiles::TutorialMode tutorial_mode, 181 profiles::TutorialMode tutorial_mode,
185 const base::string16& title_text, 182 const base::string16& title_text,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // The GAIA service type provided in the response header. 268 // The GAIA service type provided in the response header.
272 signin::GAIAServiceType gaia_service_type_; 269 signin::GAIAServiceType gaia_service_type_;
273 270
274 // The current access point of sign in. 271 // The current access point of sign in.
275 const signin_metrics::AccessPoint access_point_; 272 const signin_metrics::AccessPoint access_point_;
276 273
277 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); 274 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView);
278 }; 275 };
279 276
280 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 277 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
OLDNEW
« 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