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 12 matching lines...) Expand all Loading... |
23 USER_MANAGER_NO_TUTORIAL, // Does not display a tutorial. | 23 USER_MANAGER_NO_TUTORIAL, // Does not display a tutorial. |
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, |
| 34 USER_MANAGER_SELECT_PROFILE_CHROME_MEMORY, |
33 }; | 35 }; |
34 | 36 |
35 extern const char kUserManagerDisplayTutorial[]; | 37 extern const char kUserManagerDisplayTutorial[]; |
36 extern const char kUserManagerSelectProfileTaskManager[]; | 38 extern const char kUserManagerSelectProfileTaskManager[]; |
37 extern const char kUserManagerSelectProfileAboutChrome[]; | 39 extern const char kUserManagerSelectProfileAboutChrome[]; |
| 40 extern const char kUserManagerSelectProfileChromeSettings[]; |
| 41 extern const char kUserManagerSelectProfileChromeMemory[]; |
38 | 42 |
39 // Activates a window for |profile| on the desktop specified by | 43 // Activates a window for |profile| on the desktop specified by |
40 // |desktop_type|. If no such window yet exists, or if |always_create| is | 44 // |desktop_type|. If no such window yet exists, or if |always_create| is |
41 // true, this first creates a new window, then activates | 45 // true, this first creates a new window, then activates |
42 // that. If activating an exiting window and multiple windows exists then the | 46 // that. If activating an exiting window and multiple windows exists then the |
43 // window that was most recently active is activated. This is used for | 47 // window that was most recently active is activated. This is used for |
44 // creation of a window from the multi-profile dropdown menu. | 48 // creation of a window from the multi-profile dropdown menu. |
45 void FindOrCreateNewWindowForProfile( | 49 void FindOrCreateNewWindowForProfile( |
46 Profile* profile, | 50 Profile* profile, |
47 chrome::startup::IsProcessStartup process_startup, | 51 chrome::startup::IsProcessStartup process_startup, |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // Converts from modes in the avatar menu to modes understood by | 111 // Converts from modes in the avatar menu to modes understood by |
108 // ProfileChooserView. | 112 // ProfileChooserView. |
109 void BubbleViewModeFromAvatarBubbleMode( | 113 void BubbleViewModeFromAvatarBubbleMode( |
110 BrowserWindow::AvatarBubbleMode mode, | 114 BrowserWindow::AvatarBubbleMode mode, |
111 BubbleViewMode* bubble_view_mode, | 115 BubbleViewMode* bubble_view_mode, |
112 TutorialMode* tutorial_mode); | 116 TutorialMode* tutorial_mode); |
113 | 117 |
114 } // namespace profiles | 118 } // namespace profiles |
115 | 119 |
116 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ | 120 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ |
OLD | NEW |