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

Side by Side Diff: chrome/browser/ui/cocoa/profiles/avatar_icon_controller.h

Issue 384023002: Rename "managed (mode|user)" to "supervised user" (part 6) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: break long lines Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_
7 7
8 #import <AppKit/AppKit.h> 8 #import <AppKit/AppKit.h>
9 9
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
11 #import "chrome/browser/ui/cocoa/profiles/avatar_base_controller.h" 11 #import "chrome/browser/ui/cocoa/profiles/avatar_base_controller.h"
12 12
13 @class AvatarLabelButton; 13 @class AvatarLabelButton;
14 class Browser; 14 class Browser;
15 15
16 // This view controller manages the button/image that sits in the top of the 16 // This view controller manages the button/image that sits in the top of the
17 // window frame when using multi-profiles. It shows the current profile's 17 // window frame when using multi-profiles. It shows the current profile's
18 // avatar, or, when in Incognito, the spy dude. With multi-profiles, clicking 18 // avatar, or, when in Incognito, the spy dude. With multi-profiles, clicking
19 // will open the profile menu; in Incognito, clicking will do nothing. 19 // will open the profile menu; in Incognito, clicking will do nothing.
20 @interface AvatarIconController : AvatarBaseController { 20 @interface AvatarIconController : AvatarBaseController {
21 @private 21 @private
22 // The managed user avatar label button. Only used for managed user profiles. 22 // The supervised user avatar label button. Only used for supervised user
23 // profiles.
23 base::scoped_nsobject<AvatarLabelButton> labelButton_; 24 base::scoped_nsobject<AvatarLabelButton> labelButton_;
24 } 25 }
25 26
26 // The managed user avatar label button view. 27 // The supervised user avatar label button view.
27 @property(readonly, nonatomic) NSButton* labelButtonView; 28 @property(readonly, nonatomic) NSButton* labelButtonView;
28 29
29 // Designated initializer. 30 // Designated initializer.
30 - (id)initWithBrowser:(Browser*)browser; 31 - (id)initWithBrowser:(Browser*)browser;
31 32
32 // Sets the image to be used as the avatar. This will have a drop shadow applied 33 // Sets the image to be used as the avatar. This will have a drop shadow applied
33 // and will be resized to the frame of the button. 34 // and will be resized to the frame of the button.
34 - (void)setImage:(NSImage*)image; 35 - (void)setImage:(NSImage*)image;
35 36
36 @end 37 @end
37 38
38 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_ 39 #endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_ICON_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698