Index: chrome/browser/ui/profile_chooser_constants.h |
diff --git a/chrome/browser/ui/profile_chooser_constants.h b/chrome/browser/ui/profile_chooser_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a49f135400274a074c866f28bad7c1abadd577e |
--- /dev/null |
+++ b/chrome/browser/ui/profile_chooser_constants.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
+#define CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |
+ |
+namespace profiles { |
+ |
+// Different views that can be displayed in the profile chooser bubble. |
+enum BubbleViewMode { |
+ // Shows a "fast profile switcher" view. |
+ BUBBLE_VIEW_MODE_PROFILE_CHOOSER, |
+ // Shows a list of accounts for the active user. |
+ BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT, |
+ // Shows a web view for primary sign in. |
+ BUBBLE_VIEW_MODE_GAIA_SIGNIN, |
+ // Shows a web view for adding secondary accounts. |
+ BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT, |
+ // Shows a view for confirming account removal. |
+ BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL, |
+ // Shows a view for ending new profile management preview. |
+ BUBBLE_VIEW_MODE_END_PREVIEW |
+}; |
+ |
+// Tutorial modes that can be displayed in the profile chooser bubble. |
+enum TutorialMode { |
+ TUTORIAL_MODE_NONE, // No tutorial card shown. |
+ TUTORIAL_MODE_ENABLE_PREVIEW, // The enable-mirror-preview tutorial shown. |
+ TUTORIAL_MODE_WELCOME, // The welcome-to-mirror tutorial shown. |
+ TUTORIAL_MODE_SEND_FEEDBACK // The send-feedback tutorial shown. |
+}; |
+ |
+}; // namespace profiles |
+ |
+#endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_ |