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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 2899083003: Delete unused tutorial code from profile switcher/user manager. (Closed)
Patch Set: fix merge Created 3 years, 7 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/user_manager.h ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 6120c4b00130201b335da469ef4053d93f9f8130..1a2486d3798774bdfe10f35f3a34843180096fb4 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2526,15 +2526,13 @@ void BrowserView::ShowAvatarBubbleFromAvatarButton(
return;
profiles::BubbleViewMode bubble_view_mode;
- profiles::TutorialMode tutorial_mode;
- profiles::BubbleViewModeFromAvatarBubbleMode(mode, &bubble_view_mode,
- &tutorial_mode);
+ profiles::BubbleViewModeFromAvatarBubbleMode(mode, &bubble_view_mode);
if (SigninViewController::ShouldShowModalSigninForMode(bubble_view_mode)) {
browser_->signin_view_controller()->ShowModalSignin(
bubble_view_mode, browser_.get(), access_point);
} else {
- ProfileChooserView::ShowBubble(bubble_view_mode, tutorial_mode,
- manage_accounts_params, access_point,
+ ProfileChooserView::ShowBubble(bubble_view_mode, manage_accounts_params,
+ access_point,
frame_->GetNewAvatarMenuButton(), browser(),
focus_first_profile_button);
ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::ICON_AVATAR_BUBBLE);
« no previous file with comments | « chrome/browser/ui/user_manager.h ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698