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

Side by Side Diff: chrome/browser/profiles/profile_window.h

Issue 1120013003: Add right-click user switching tutorial bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 unified diff | Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/profiles/profile_metrics.h" 10 #include "chrome/browser/profiles/profile_metrics.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // Disables new profile management preview and attempts to relaunch Chrome. 116 // Disables new profile management preview and attempts to relaunch Chrome.
117 void DisableNewProfileManagementPreview(Profile* profile); 117 void DisableNewProfileManagementPreview(Profile* profile);
118 118
119 // Converts from modes in the avatar menu to modes understood by 119 // Converts from modes in the avatar menu to modes understood by
120 // ProfileChooserView. 120 // ProfileChooserView.
121 void BubbleViewModeFromAvatarBubbleMode( 121 void BubbleViewModeFromAvatarBubbleMode(
122 BrowserWindow::AvatarBubbleMode mode, 122 BrowserWindow::AvatarBubbleMode mode,
123 BubbleViewMode* bubble_view_mode, 123 BubbleViewMode* bubble_view_mode,
124 TutorialMode* tutorial_mode); 124 TutorialMode* tutorial_mode);
125 125
126 // Returns true if the Welcome/Upgrade tutorial bubble should be shown to the
127 // user, false otherwise.
128 bool ShouldShowWelcomeUpgradeTutorial(
129 Profile* profile, TutorialMode tutorial_mode);
130
131 // Returns true if the tutorial informing the user about right-click user
132 // switching should be shown, false otherwise.
133 bool ShouldShowRightClickTutorial(Profile* profile);
134
126 } // namespace profiles 135 } // namespace profiles
127 136
128 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 137 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698