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

Unified Diff: chrome/browser/chromeos/login/oobe_screen.h

Issue 2566443005: cros: Replace WizardController string constants with OobeScreen values. (Closed)
Patch Set: Address comments Created 3 years, 11 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 | « chrome/browser/chromeos/login/login_wizard.h ('k') | chrome/browser/chromeos/login/oobe_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/oobe_screen.h
diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_screen.h b/chrome/browser/chromeos/login/oobe_screen.h
similarity index 71%
rename from chrome/browser/ui/webui/chromeos/login/oobe_screen.h
rename to chrome/browser/chromeos/login/oobe_screen.h
index 111e011b4212ded1e8e011bab29ce256c572a05f..1e31069a611192ec78340a73166d7e64d9ca6d98 100644
--- a/chrome/browser/ui/webui/chromeos/login/oobe_screen.h
+++ b/chrome/browser/chromeos/login/oobe_screen.h
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_
-#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_
+#define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_
#include <string>
namespace chromeos {
+// TODO(jdufault): Rename to LoginScreen or similar since this is not directly
+// tied to Oobe. See crbug.com/678740.
+
// Different screens in the Oobe. If you update this enum, *make sure* to
// update kScreenNames in the cc file as well.
enum class OobeScreen : unsigned int {
@@ -39,6 +42,15 @@ enum class OobeScreen : unsigned int {
SCREEN_OOBE_HOST_PAIRING,
SCREEN_DEVICE_DISABLED,
SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR,
+ SCREEN_USER_SELECTION,
+
+ // Special "first screen" that initiates login flow.
+ SCREEN_SPECIAL_LOGIN,
+ // Special "first screen" that initiates full OOBE flow.
+ SCREEN_SPECIAL_OOBE,
+ // Special test value that commands not to create any window yet.
+ SCREEN_TEST_NO_WINDOW,
+
SCREEN_UNKNOWN // This must always be the last element.
};
@@ -50,4 +62,4 @@ OobeScreen GetOobeScreenFromName(const std::string& name);
} // namespace chromeos
-#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_
« no previous file with comments | « chrome/browser/chromeos/login/login_wizard.h ('k') | chrome/browser/chromeos/login/oobe_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698