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

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

Issue 471023003: Make sure the new confirmation bubble is always shown upon signin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ed47b092ba974816e1d92fa59403f632aa01ed66..e1b9ad10616915abbac391c296f85f1856ca90da 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -165,13 +165,16 @@ class ProfileInfoUpdateObserver : public ProfileInfoCacheObserver,
// |menuController_| will automatically release itself on close.
if (switches::IsNewAvatarMenu()) {
- profiles::BubbleViewMode viewMode =
- profiles::BubbleViewModeFromAvatarBubbleMode(mode);
+ profiles::BubbleViewMode viewMode;
+ profiles::TutorialMode tutorialMode;
+ profiles::BubbleViewModeFromAvatarBubbleMode(
+ mode, &viewMode, &tutorialMode);
menuController_ =
[[ProfileChooserController alloc] initWithBrowser:browser_
anchoredAt:point
- withMode:viewMode
- withServiceType:serviceType];
+ viewMode:viewMode
+ tutorialMode:tutorialMode
+ serviceType:serviceType];
} else {
menuController_ =
[[AvatarMenuBubbleController alloc] initWithBrowser:browser_
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/profiles/profile_chooser_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698