| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_PROFILE_CHOOSER_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ | 6 #define CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
| 7 | 7 |
| 8 namespace profiles { | 8 namespace profiles { |
| 9 | 9 |
| 10 // Different views that can be displayed in the profile chooser bubble. | 10 // Different views that can be displayed in the profile chooser bubble. |
| 11 enum BubbleViewMode { | 11 enum BubbleViewMode { |
| 12 // Shows a "fast profile switcher" view. | 12 // Shows the default avatar bubble. |
| 13 BUBBLE_VIEW_MODE_PROFILE_CHOOSER, | 13 BUBBLE_VIEW_MODE_PROFILE_CHOOSER, |
| 14 // Shows a list of accounts for the active user. | 14 // Shows a list of accounts for the active user. |
| 15 BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT, | 15 BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT, |
| 16 // Shows a web view for primary sign in. | 16 // Shows a web view for primary sign in. |
| 17 BUBBLE_VIEW_MODE_GAIA_SIGNIN, | 17 BUBBLE_VIEW_MODE_GAIA_SIGNIN, |
| 18 // Shows a web view for adding secondary accounts. | 18 // Shows a web view for adding secondary accounts. |
| 19 BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT, | 19 BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT, |
| 20 // Shows a web view for reauthenticating an account. | 20 // Shows a web view for reauthenticating an account. |
| 21 BUBBLE_VIEW_MODE_GAIA_REAUTH, | 21 BUBBLE_VIEW_MODE_GAIA_REAUTH, |
| 22 // Shows a view for confirming account removal. | 22 // Shows a view for confirming account removal. |
| 23 BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL, | 23 BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL, |
| 24 // Shows a view for switching user. | 24 // Shows a view for switching user. |
| 25 BUBBLE_VIEW_MODE_SWITCH_USER, | 25 BUBBLE_VIEW_MODE_SWITCH_USER, |
| 26 // Shows a "fast profile switcher" view. |
| 27 BUBBLE_VIEW_MODE_FAST_PROFILE_CHOOSER, |
| 26 }; | 28 }; |
| 27 | 29 |
| 28 // Tutorial modes that can be displayed in the profile chooser bubble. | 30 // Tutorial modes that can be displayed in the profile chooser bubble. |
| 29 enum TutorialMode { | 31 enum TutorialMode { |
| 30 // No tutorial card shown. | 32 // No tutorial card shown. |
| 31 TUTORIAL_MODE_NONE, | 33 TUTORIAL_MODE_NONE, |
| 32 // A tutorial card shown to confirm Chrome signin. | 34 // A tutorial card shown to confirm Chrome signin. |
| 33 TUTORIAL_MODE_CONFIRM_SIGNIN, | 35 TUTORIAL_MODE_CONFIRM_SIGNIN, |
| 34 // A tutorial card shown to introduce an upgrade user to the new avatar menu. | 36 // A tutorial card shown to introduce an upgrade user to the new avatar menu. |
| 35 TUTORIAL_MODE_WELCOME_UPGRADE, | 37 TUTORIAL_MODE_WELCOME_UPGRADE, |
| 36 // A tutorial card shown to display the signin errors. | 38 // A tutorial card shown to display the signin errors. |
| 37 TUTORIAL_MODE_SHOW_ERROR, | 39 TUTORIAL_MODE_SHOW_ERROR, |
| 38 }; | 40 }; |
| 39 | 41 |
| 40 }; // namespace profiles | 42 }; // namespace profiles |
| 41 | 43 |
| 42 #endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ | 44 #endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
| OLD | NEW |