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

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: roger's comments addressed and 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
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..a28c553e787d2a104518d3d6f166af50ec8a5dc9 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -165,12 +165,15 @@ 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