Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: chrome/browser/ui/profile_chooser_constants.h

Issue 297803007: Move profile_chooser enums to a constant place for mac and win. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_
6 #define CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_
7
8 namespace profiles {
9
10 // Different views that can be displayed in the profile chooser bubble.
11 enum BubbleViewMode {
12 // Shows a "fast profile switcher" view.
13 BUBBLE_VIEW_MODE_PROFILE_CHOOSER,
14 // Shows a list of accounts for the active user.
15 BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT,
16 // Shows a web view for primary sign in.
17 BUBBLE_VIEW_MODE_GAIA_SIGNIN,
18 // Shows a web view for adding secondary accounts.
19 BUBBLE_VIEW_MODE_GAIA_ADD_ACCOUNT,
20 // Shows a view for confirming account removal.
21 BUBBLE_VIEW_MODE_ACCOUNT_REMOVAL,
22 // Shows a view for ending new profile management preview.
23 BUBBLE_VIEW_MODE_END_PREVIEW
24 };
25
26 // Tutorial modes that can be displayed in the profile chooser bubble.
27 enum TutorialMode {
28 TUTORIAL_MODE_NONE, // No tutorial card shown.
29 TUTORIAL_MODE_ENABLE_PREVIEW, // The enable-mirror-preview tutorial shown.
30 TUTORIAL_MODE_WELCOME, // The welcome-to-mirror tutorial shown.
31 TUTORIAL_MODE_SEND_FEEDBACK // The send-feedback tutorial shown.
32 };
33
34 }; // namespace profiles
35
36 #endif // CHROME_BROWSER_UI_PROFILE_CHOOSER_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698