| 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 "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/browser/profiles/profile_manager.h" | 10 #include "chrome/browser/profiles/profile_manager.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 USER_MANAGER_TUTORIAL_OVERVIEW, // Basic overview of new features. | 24 USER_MANAGER_TUTORIAL_OVERVIEW, // Basic overview of new features. |
| 25 USER_MANAGER_TUTORIAL_LOCK, // TODO(noms): To be implemented. | 25 USER_MANAGER_TUTORIAL_LOCK, // TODO(noms): To be implemented. |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 // Different actions to perform after the user manager selects a profile. | 28 // Different actions to perform after the user manager selects a profile. |
| 29 enum UserManagerProfileSelected { | 29 enum UserManagerProfileSelected { |
| 30 USER_MANAGER_SELECT_PROFILE_NO_ACTION, | 30 USER_MANAGER_SELECT_PROFILE_NO_ACTION, |
| 31 USER_MANAGER_SELECT_PROFILE_TASK_MANAGER, | 31 USER_MANAGER_SELECT_PROFILE_TASK_MANAGER, |
| 32 USER_MANAGER_SELECT_PROFILE_ABOUT_CHROME, | 32 USER_MANAGER_SELECT_PROFILE_ABOUT_CHROME, |
| 33 USER_MANAGER_SELECT_PROFILE_CHROME_SETTINGS, | 33 USER_MANAGER_SELECT_PROFILE_CHROME_SETTINGS, |
| 34 USER_MANAGER_SELECT_PROFILE_CHROME_MEMORY, | |
| 35 USER_MANAGER_SELECT_PROFILE_APP_LAUNCHER, | 34 USER_MANAGER_SELECT_PROFILE_APP_LAUNCHER, |
| 36 }; | 35 }; |
| 37 | 36 |
| 38 extern const char kUserManagerDisplayTutorial[]; | 37 extern const char kUserManagerDisplayTutorial[]; |
| 39 extern const char kUserManagerSelectProfileTaskManager[]; | 38 extern const char kUserManagerSelectProfileTaskManager[]; |
| 40 extern const char kUserManagerSelectProfileAboutChrome[]; | 39 extern const char kUserManagerSelectProfileAboutChrome[]; |
| 41 extern const char kUserManagerSelectProfileChromeSettings[]; | 40 extern const char kUserManagerSelectProfileChromeSettings[]; |
| 42 extern const char kUserManagerSelectProfileChromeMemory[]; | |
| 43 extern const char kUserManagerSelectProfileAppLauncher[]; | 41 extern const char kUserManagerSelectProfileAppLauncher[]; |
| 44 | 42 |
| 45 // Returns the path of the profile connected to the given email. If no profile | 43 // Returns the path of the profile connected to the given email. If no profile |
| 46 // is found an empty file path is returned. | 44 // is found an empty file path is returned. |
| 47 base::FilePath GetPathOfProfileWithEmail(ProfileManager* profile_manager, | 45 base::FilePath GetPathOfProfileWithEmail(ProfileManager* profile_manager, |
| 48 const std::string& email); | 46 const std::string& email); |
| 49 | 47 |
| 50 // Activates a window for |profile| on the desktop specified by | 48 // Activates a window for |profile| on the desktop specified by |
| 51 // |desktop_type|. If no such window yet exists, or if |always_create| is | 49 // |desktop_type|. If no such window yet exists, or if |always_create| is |
| 52 // true, this first creates a new window, then activates | 50 // true, this first creates a new window, then activates |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 bool ShouldShowWelcomeUpgradeTutorial( | 129 bool ShouldShowWelcomeUpgradeTutorial( |
| 132 Profile* profile, TutorialMode tutorial_mode); | 130 Profile* profile, TutorialMode tutorial_mode); |
| 133 | 131 |
| 134 // Returns true if the tutorial informing the user about right-click user | 132 // Returns true if the tutorial informing the user about right-click user |
| 135 // switching should be shown, false otherwise. | 133 // switching should be shown, false otherwise. |
| 136 bool ShouldShowRightClickTutorial(Profile* profile); | 134 bool ShouldShowRightClickTutorial(Profile* profile); |
| 137 | 135 |
| 138 } // namespace profiles | 136 } // namespace profiles |
| 139 | 137 |
| 140 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ | 138 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ |
| OLD | NEW |