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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 15932008: Add managed user avatar menu for mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to ToT. Created 7 years, 7 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/browser_window_controller.h
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.h b/chrome/browser/ui/cocoa/browser_window_controller.h
index 5eee4e4ef39551712f3da898f8f7dda3fb1be2a1..e9a57bc42866867148ecefab66083ae370e7415e 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.h
+++ b/chrome/browser/ui/cocoa/browser_window_controller.h
@@ -26,6 +26,7 @@
#include "ui/gfx/rect.h"
@class AvatarButtonController;
+@class AvatarLabelController;
class Browser;
class BrowserWindow;
class BrowserWindowCocoa;
@@ -108,6 +109,10 @@ class WebContents;
// unless it's appropriate to show it.
scoped_nsobject<AvatarButtonController> avatarButtonController_;
+ // The label that is displayed on the side of the avatar icon of a managed
+ // user.
+ scoped_nsobject<AvatarLabelController> avatarLabelController_;
+
// Lazily created view which draws the background for the floating set of bars
// in presentation mode (for window types having a floating bar; it remains
// nil for those which don't).
@@ -225,6 +230,9 @@ class WebContents;
// Access the avatar button controller.
- (AvatarButtonController*)avatarButtonController;
+// Access the avatar label.
+- (AvatarLabelController*)avatarLabelController;
+
// Updates the toolbar (and transitively the location bar) with the states of
// the specified |tab|. If |shouldRestore| is true, we're switching
// (back?) to this tab and should restore any previous location bar state

Powered by Google App Engine
This is Rietveld 408576698