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

Unified Diff: ash/system/user/user_view.h

Issue 2816193002: Introduce a type of View background that stays in sync with its host (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/user/user_card_view.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/user_view.h
diff --git a/ash/system/user/user_view.h b/ash/system/user/user_view.h
index 535a4b5077ae878514e32440428f1868793b1eb3..de498772330bb620f4501c34de8927b22b41b5fc 100644
--- a/ash/system/user/user_view.h
+++ b/ash/system/user/user_view.h
@@ -62,10 +62,10 @@ class UserView : public views::View,
// Create the menu option to add another user. If |disabled| is set the user
// cannot actively click on the item.
- void ToggleAddUserMenuOption();
+ void ToggleUserDropdownWidget();
// Removes the add user menu option.
- void RemoveAddUserMenuOption();
+ void HideUserDropdownWidget();
// If |user_card_view_| is clickable, this is a ButtonFromView that wraps it.
// If |user_card_view_| is not clickable, this will be equal to
@@ -79,7 +79,7 @@ class UserView : public views::View,
SystemTrayItem* owner_;
views::View* logout_button_ = nullptr;
- std::unique_ptr<views::Widget> add_menu_option_;
+ std::unique_ptr<views::Widget> user_dropdown_widget_;
// False when the add user panel is visible but not activatable.
bool add_user_enabled_ = true;
« no previous file with comments | « ash/system/user/user_card_view.cc ('k') | ash/system/user/user_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698