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

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

Issue 497783002: Disable lock if no credentials are present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better variable name Created 6 years, 4 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 | Annotate | Revision Log
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 <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 views::View* CreateProfileChooserView(AvatarMenu* avatar_menu); 124 views::View* CreateProfileChooserView(AvatarMenu* avatar_menu);
125 125
126 // Creates the main profile card for the profile |avatar_item|. |is_guest| 126 // Creates the main profile card for the profile |avatar_item|. |is_guest|
127 // is used to determine whether to show any Sign in/Sign out/Manage accounts 127 // is used to determine whether to show any Sign in/Sign out/Manage accounts
128 // links. 128 // links.
129 views::View* CreateCurrentProfileView( 129 views::View* CreateCurrentProfileView(
130 const AvatarMenu::Item& avatar_item, 130 const AvatarMenu::Item& avatar_item,
131 bool is_guest); 131 bool is_guest);
132 views::View* CreateGuestProfileView(); 132 views::View* CreateGuestProfileView();
133 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show); 133 views::View* CreateOtherProfilesView(const Indexes& avatars_to_show);
134 views::View* CreateOptionsView(bool enable_lock); 134 views::View* CreateOptionsView(bool display_lock);
135 views::View* CreateSupervisedUserDisclaimerView(); 135 views::View* CreateSupervisedUserDisclaimerView();
136 136
137 // Account Management view for the profile |avatar_item|. 137 // Account Management view for the profile |avatar_item|.
138 views::View* CreateCurrentProfileAccountsView( 138 views::View* CreateCurrentProfileAccountsView(
139 const AvatarMenu::Item& avatar_item); 139 const AvatarMenu::Item& avatar_item);
140 void CreateAccountButton(views::GridLayout* layout, 140 void CreateAccountButton(views::GridLayout* layout,
141 const std::string& account, 141 const std::string& account,
142 bool is_primary_account, 142 bool is_primary_account,
143 bool reauth_required, 143 bool reauth_required,
144 int width); 144 int width);
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // The current tutorial mode. 250 // The current tutorial mode.
251 profiles::TutorialMode tutorial_mode_; 251 profiles::TutorialMode tutorial_mode_;
252 252
253 // The GAIA service type provided in the response header. 253 // The GAIA service type provided in the response header.
254 signin::GAIAServiceType gaia_service_type_; 254 signin::GAIAServiceType gaia_service_type_;
255 255
256 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); 256 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView);
257 }; 257 };
258 258
259 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 259 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698