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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_button_controller.h

Issue 605803002: [Mac] Redesign the new avatar button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a \n. >.< Created 6 years, 3 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_button_controller.h
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
index 60af074c1c8d4bb3f8299f469756e508878ec3ff..0b8559ce8777dbb1baa99b8d5df9355937ece467 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.h
@@ -17,10 +17,17 @@ class Browser;
@interface AvatarButtonController : AvatarBaseController {
@private
BOOL isThemedWindow_;
+ // Whether the signed in profile has an authentication error. Used to
+ // display an error icon next to the button text.
+ BOOL hasError_;
}
// Designated initializer.
- (id)initWithBrowser:(Browser*)browser;
@end
+@interface AvatarButtonController (ExposedForTesting)
groby-ooo-7-16 2014/09/29 17:55:43 I wouldn't expose it in the header - just do it in
+- (void)updateErrorStatus:(BOOL)hasError;
+@end
+
#endif // CHROME_BROWSER_UI_COCOA_PROFILES_AVATAR_BUTTON_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698