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

Unified Diff: chrome/browser/ui/views/profiles/avatar_label.cc

Issue 316863002: Rename "managed (mode|user)" to "supervised user" (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/ui/views/profiles/avatar_label.cc
diff --git a/chrome/browser/ui/views/profiles/avatar_label.cc b/chrome/browser/ui/views/profiles/avatar_label.cc
index 2cd9d63b350178827c474d437656f7afad4b277c..7b7bad73978a0e46e38a242b13d4aa4a14ff4d6b 100644
--- a/chrome/browser/ui/views/profiles/avatar_label.cc
+++ b/chrome/browser/ui/views/profiles/avatar_label.cc
@@ -18,7 +18,7 @@
namespace {
-// A custom border for the managed user avatar label.
+// A custom border for the supervised user avatar label.
class AvatarLabelBorder : public views::Border {
public:
explicit AvatarLabelBorder(bool label_on_right);
@@ -64,7 +64,7 @@ void AvatarLabelBorder::Paint(const views::View& view, gfx::Canvas* canvas) {
SkPaint paint;
int kRadius = 2;
SkColor background_color = view.GetThemeProvider()->GetColor(
- ThemeProperties::COLOR_MANAGED_USER_LABEL_BACKGROUND);
+ ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BACKGROUND);
paint.setStyle(SkPaint::kFill_Style);
// Paint the inner border with a color slightly darker than the background.
@@ -117,7 +117,7 @@ void AvatarLabel::UpdateLabelStyle() {
return;
SkColor color_label = browser_view_->frame()->GetThemeProvider()->GetColor(
- ThemeProperties::COLOR_MANAGED_USER_LABEL);
+ ThemeProperties::COLOR_SUPERVISED_USER_LABEL);
for (size_t state = 0; state < STATE_COUNT; ++state)
SetTextColor(static_cast<ButtonState>(state), color_label);
SchedulePaint();
« no previous file with comments | « chrome/browser/ui/views/profiles/avatar_label.h ('k') | chrome/browser/ui/views/profiles/avatar_menu_bubble_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698