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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2765413002: Removing fast user switcher tutorial (Closed)
Patch Set: Created 3 years, 9 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/views/profiles/profile_chooser_view.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698