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

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: show new confirmation bubble after modal dialog closed 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
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..68ea17a6e334c6d57e9cf4e0d68124e0587762ed 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -165,12 +165,14 @@ 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
+ withViewMode:viewMode
+ withTutorialMode:tutorialMode
withServiceType:serviceType];
} else {
menuController_ =

Powered by Google App Engine
This is Rietveld 408576698