| 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 #include "third_party/skia/include/core/SkColor.h" | 8 #include "third_party/skia/include/core/SkColor.h" |
| 9 | 9 |
| 10 namespace profiles { | 10 namespace profiles { |
| 11 | 11 |
| 12 static const SkColor kHoverColor = SkColorSetRGB(0xEA, 0xEA, 0xEA); | 12 static const SkColor kHoverColor = SkColorSetRGB(0xEA, 0xEA, 0xEA); |
| 13 | 13 |
| 14 // Different views that can be displayed in the profile chooser bubble. | 14 // Different views that can be displayed in the profile chooser bubble. |
| 15 enum BubbleViewMode { | 15 enum BubbleViewMode { |
| 16 // Shows the default avatar bubble. | 16 // Shows the default avatar bubble. |
| 17 BUBBLE_VIEW_MODE_PROFILE_CHOOSER, | 17 BUBBLE_VIEW_MODE_PROFILE_CHOOSER, |
| 18 // Shows a list of accounts for the active user. | 18 // Shows a list of accounts for the active user. |
| 19 BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT, | 19 BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT, |
| 20 // Shows a web view for primary sign in. | 20 // Shows a web view for primary sign in. |
| 21 BUBBLE_VIEW_MODE_GAIA_SIGNIN, | 21 BUBBLE_VIEW_MODE_GAIA_SIGNIN, |
| 22 // Shows a web view for adding secondary accounts. | 22 // Shows a web view for adding secondary accounts. |
| 23 BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT, | 23 BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT, |
| 24 // Shows a web view for reauthenticating an account. | 24 // Shows a web view for reauthenticating an account. |
| 25 BUBBLE_VIEW_MODE_GAIA_REAUTH, | 25 BUBBLE_VIEW_MODE_GAIA_REAUTH, |
| 26 // Shows a view for confirming account removal. | 26 // Shows a view for confirming account removal. |
| 27 BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL, | 27 BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL, |
| 28 // Shows a view for switching user. | 28 // Shows a view for switching user. |
| 29 BUBBLE_VIEW_MODE_SWITCH_USER, | 29 BUBBLE_VIEW_MODE_SWITCH_USER, |
| 30 // Shows a "fast profile switcher" view. | |
| 31 BUBBLE_VIEW_MODE_FAST_PROFILE_CHOOSER, | |
| 32 }; | 30 }; |
| 33 | 31 |
| 34 // Tutorial modes that can be displayed in the profile chooser bubble. | 32 // Tutorial modes that can be displayed in the profile chooser bubble. |
| 35 enum TutorialMode { | 33 enum TutorialMode { |
| 36 // No tutorial card shown. | 34 // No tutorial card shown. |
| 37 TUTORIAL_MODE_NONE, | 35 TUTORIAL_MODE_NONE, |
| 38 // A tutorial card shown to confirm Chrome signin. | 36 // A tutorial card shown to confirm Chrome signin. |
| 39 TUTORIAL_MODE_CONFIRM_SIGNIN, | 37 TUTORIAL_MODE_CONFIRM_SIGNIN, |
| 40 // A tutorial card shown to introduce an upgrade user to the new avatar menu. | 38 // A tutorial card shown to introduce an upgrade user to the new avatar menu. |
| 41 TUTORIAL_MODE_WELCOME_UPGRADE, | 39 TUTORIAL_MODE_WELCOME_UPGRADE, |
| 42 // A tutorial card shown to display the signin errors. | 40 // A tutorial card shown to display the signin errors. |
| 43 TUTORIAL_MODE_SHOW_ERROR, | 41 TUTORIAL_MODE_SHOW_ERROR, |
| 44 // A tutorial card shown to inform users about right-click user switching. | 42 // A tutorial card shown to inform users about right-click user switching. |
| 45 TUTORIAL_MODE_RIGHT_CLICK_SWITCHING, | 43 TUTORIAL_MODE_RIGHT_CLICK_SWITCHING, |
| 46 }; | 44 }; |
| 47 | 45 |
| 48 }; // namespace profiles | 46 }; // namespace profiles |
| 49 | 47 |
| 50 #endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ | 48 #endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
| OLD | NEW |