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

Unified Diff: ash/public/cpp/session_types.h

Issue 2724163002: ash: Use enum for SessionController::CycleActiveUser (Closed)
Patch Set: fix ash_shell_with_content compile Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/public/interfaces/session_controller.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/public/cpp/session_types.h
diff --git a/ash/public/cpp/session_types.h b/ash/public/cpp/session_types.h
index c5c59f031e36e3a5bdb5d2e8a3b2f9c93e56c1a8..74734807c8319f89a70f4631aac28f1ce7f40d89 100644
--- a/ash/public/cpp/session_types.h
+++ b/ash/public/cpp/session_types.h
@@ -23,6 +23,12 @@ enum class AddUserSessionPolicy {
ERROR_MAXIMUM_USERS_REACHED,
};
+// Defines the cycle direction for |CycleActiveUser|.
+enum class CycleUserDirection {
+ NEXT = 0, // Cycle to the next user.
+ PREVIOUS, // Cycle to the previous user.
+};
+
} // namespace ash
#endif // ASH_PUBLIC_CPP_SESSION_TYPES_H_
« no previous file with comments | « ash/mus/shell_delegate_mus.cc ('k') | ash/public/interfaces/session_controller.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698