OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |