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

Unified Diff: ash/common/system/user/user_card_view.h

Issue 2498293003: CrOS md user row adjustments (Closed)
Patch Set: is_active_user() Created 4 years, 1 month 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
« no previous file with comments | « ash/common/system/user/tray_user_unittest.cc ('k') | ash/common/system/user/user_card_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/user_card_view.h
diff --git a/ash/common/system/user/user_card_view.h b/ash/common/system/user/user_card_view.h
index dcb806888a00c554718ccea236788779fd1107cb..b14a55fc645888a0b306ce43415ccac579bbe849 100644
--- a/ash/common/system/user/user_card_view.h
+++ b/ash/common/system/user/user_card_view.h
@@ -29,7 +29,12 @@ class UserCardView : public views::View {
// Creates the content for the public mode.
void AddPublicModeUserContent(int max_width);
- void AddUserContent(LoginStatus login_status, int user_index);
+ void AddUserContent(LoginStatus login_status);
+ void AddUserContentMd(LoginStatus login_status);
+
+ bool is_active_user() const { return !user_index_; }
+
+ int user_index_;
DISALLOW_COPY_AND_ASSIGN(UserCardView);
};
« no previous file with comments | « ash/common/system/user/tray_user_unittest.cc ('k') | ash/common/system/user/user_card_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698