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

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

Issue 471333003: Make sure avatar menu does not use account_id for display purposes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add description to fake Created 6 years, 3 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 display_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_id,
142 bool is_primary_account, 142 bool is_primary_account,
143 bool reauth_required, 143 bool reauth_required,
144 int width); 144 int width);
145 145
146 // Creates a webview showing the gaia signin page. 146 // Creates a webview showing the gaia signin page.
147 views::View* CreateGaiaSigninView(); 147 views::View* CreateGaiaSigninView();
148 148
149 // Creates a view to confirm account removal for |account_id_to_remove_|. 149 // Creates a view to confirm account removal for |account_id_to_remove_|.
150 views::View* CreateAccountRemovalView(); 150 views::View* CreateAccountRemovalView();
151 151
(...skipping 98 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