Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc |
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
index 6ac934cdf97dcb1d981364df77a97fac35857f4f..9e662cca2324d476d7618d0d1be4c81fd8bfbc6a 100644 |
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc |
@@ -1063,12 +1063,6 @@ void ProfileChooserView::DismissTutorial() { |
signin_ui_util::kUpgradeWelcomeTutorialShowMax + 1); |
} |
- if (tutorial_mode_ == profiles::TUTORIAL_MODE_RIGHT_CLICK_SWITCHING) { |
- PrefService* local_state = g_browser_process->local_state(); |
- local_state->SetBoolean( |
- prefs::kProfileAvatarRightClickTutorialDismissed, true); |
- } |
- |
tutorial_mode_ = profiles::TUTORIAL_MODE_NONE; |
ShowViewFromMode(profiles::BUBBLE_VIEW_MODE_PROFILE_CHOOSER); |
} |
@@ -1094,9 +1088,6 @@ views::View* ProfileChooserView::CreateTutorialViewIfNeeded( |
return CreateWelcomeUpgradeTutorialView(item); |
} |
- if (profiles::ShouldShowRightClickTutorial(browser_->profile())) |
- return CreateRightClickTutorialView(); |
- |
return nullptr; |
} |
@@ -1841,19 +1832,6 @@ views::View* ProfileChooserView::CreateSigninErrorView() { |
&tutorial_close_button_); |
} |
-views::View* ProfileChooserView::CreateRightClickTutorialView() { |
- return CreateTutorialView( |
- profiles::TUTORIAL_MODE_RIGHT_CLICK_SWITCHING, |
- l10n_util::GetStringUTF16(IDS_PROFILES_RIGHT_CLICK_TUTORIAL_TITLE), |
- l10n_util::GetStringUTF16(IDS_PROFILES_RIGHT_CLICK_TUTORIAL_CONTENT_TEXT), |
- base::string16(), |
- l10n_util::GetStringUTF16(IDS_PROFILES_TUTORIAL_OK_BUTTON), |
- false, |
- nullptr, |
- &tutorial_sync_settings_ok_button_, |
- nullptr); |
-} |
- |
views::View* ProfileChooserView::CreateSwitchUserView() { |
views::View* view = new views::View(); |
views::GridLayout* layout = CreateSingleColumnLayout( |