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

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

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: preemptive nits Created 6 years, 8 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_base_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
index e77db1b8b597c8cb7f5e6a58146b09cc6e0f1bbd..0e5f12bf0c6366ba57935560cc7f1262047214be 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -121,7 +121,7 @@ class ProfileInfoUpdateObserver : public ProfileInfoCacheObserver {
point = [[anchor window] convertBaseToScreen:point];
// |menuController_| will automatically release itself on close.
- if (switches::IsNewProfileManagement()) {
+ if (switches::IsNewAvatarMenu()) {
BubbleViewMode viewMode =
mode == BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT ?
BUBBLE_VIEW_MODE_PROFILE_CHOOSER :

Powered by Google App Engine
This is Rietveld 408576698