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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_label_button.mm

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/cocoa/profiles/avatar_label_button.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_label_button.mm b/chrome/browser/ui/cocoa/profiles/avatar_label_button.mm
index 881366813d2eb778b3034b59fba36d6faa0482f5..daa9761cd4d9cdffabc9805447f698882a07667c 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_label_button.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_label_button.mm
@@ -82,7 +82,7 @@ const CGFloat kLabelTextBottomSpacing = 4;
ui::ThemeProvider* themeProvider = [[controlView window] themeProvider];
if (themeProvider) {
NSColor* textColor = themeProvider->GetNSColor(
- ThemeProperties::COLOR_MANAGED_USER_LABEL);
+ ThemeProperties::COLOR_SUPERVISED_USER_LABEL);
[themedTitle addAttribute:NSForegroundColorAttributeName
value:textColor
range:NSMakeRange(0, title.length)];
@@ -97,7 +97,7 @@ const CGFloat kLabelTextBottomSpacing = 4;
// Draw the label button background using the color provided by
// |themeProvider|. First paint the border.
NSColor* borderColor = themeProvider->GetNSColor(
- ThemeProperties::COLOR_MANAGED_USER_LABEL_BORDER);
+ ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BORDER);
if ([self isHighlighted]) {
borderColor = [borderColor blendedColorWithFraction:0.5
ofColor:[NSColor blackColor]];
@@ -115,7 +115,7 @@ const CGFloat kLabelTextBottomSpacing = 4;
// Now paint the background.
NSColor* backgroundColor = themeProvider->GetNSColor(
- ThemeProperties::COLOR_MANAGED_USER_LABEL_BACKGROUND);
+ ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BACKGROUND);
if ([self isHighlighted]) {
backgroundColor =
[backgroundColor blendedColorWithFraction:0.5

Powered by Google App Engine
This is Rietveld 408576698