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

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

Issue 2678353005: Remove pre-MD code related to tray/menu user profiles. (Closed)
Patch Set: back out a11y changes and rebase Created 3 years, 10 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/common/system/user/button_from_view.cc ('k') | ash/common/system/user/rounded_image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/rounded_image_view.h
diff --git a/ash/common/system/user/rounded_image_view.h b/ash/common/system/user/rounded_image_view.h
index ad5d47a7874dfb3a8fe26b4b95d05fc0829079a4..c424777dc551877010cbd9d0120d69365eb40f1a 100644
--- a/ash/common/system/user/rounded_image_view.h
+++ b/ash/common/system/user/rounded_image_view.h
@@ -17,9 +17,8 @@ namespace tray {
class RoundedImageView : public views::View {
public:
// Constructs a new rounded image view with rounded corners of radius
- // |corner_radius|. If |active_user| is set, the icon will be drawn in
- // full colors - otherwise it will fade into the background.
- RoundedImageView(int corner_radius, bool active_user);
+ // |corner_radius|.
+ explicit RoundedImageView(int corner_radius);
~RoundedImageView() override;
// Set the image that should be displayed. The image contents is copied to the
@@ -42,11 +41,6 @@ class RoundedImageView : public views::View {
gfx::Size image_size_;
int corner_radius_[4];
- // True if the given user is the active user and the icon should get
- // painted as active.
- // TODO(estade): remove this, it's not used in Material Design.
- bool active_user_;
-
DISALLOW_COPY_AND_ASSIGN(RoundedImageView);
};
« no previous file with comments | « ash/common/system/user/button_from_view.cc ('k') | ash/common/system/user/rounded_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698