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

Unified Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 647043004: WizardScreen is merged to BaseScreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
Index: chrome/browser/chromeos/login/wizard_controller.cc
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc
index 1f7ee62c5d807d09c299ad9655eaca46b8fff8f2..641a706305f766ae3884c8967d1723ea78f352b4 100644
--- a/chrome/browser/chromeos/login/wizard_controller.cc
+++ b/chrome/browser/chromeos/login/wizard_controller.cc
@@ -284,7 +284,7 @@ chromeos::ErrorScreen* WizardController::GetErrorScreen() {
return static_cast<chromeos::ErrorScreen*>(GetScreen(kErrorScreenName));
}
-WizardScreen* WizardController::CreateScreen(const std::string& screen_name) {
+BaseScreen* WizardController::CreateScreen(const std::string& screen_name) {
if (screen_name == kNetworkScreenName) {
return new chromeos::NetworkScreen(this,
oobe_display_->GetNetworkScreenActor());
@@ -794,7 +794,7 @@ void WizardController::PerformOOBECompletedActions() {
chrome::AttemptRestart();
}
-void WizardController::SetCurrentScreen(WizardScreen* new_current) {
+void WizardController::SetCurrentScreen(BaseScreen* new_current) {
SetCurrentScreenSmooth(new_current, false);
}
@@ -815,7 +815,7 @@ void WizardController::ShowCurrentScreen() {
current_screen_->Show();
}
-void WizardController::SetCurrentScreenSmooth(WizardScreen* new_current,
+void WizardController::SetCurrentScreenSmooth(BaseScreen* new_current,
bool use_smoothing) {
if (current_screen_ == new_current ||
new_current == NULL ||
@@ -1019,7 +1019,7 @@ void WizardController::ShowErrorScreen() {
SetCurrentScreen(GetScreen(kErrorScreenName));
}
-void WizardController::HideErrorScreen(WizardScreen* parent_screen) {
+void WizardController::HideErrorScreen(BaseScreen* parent_screen) {
DCHECK(parent_screen);
VLOG(1) << "Hiding error screen.";
SetCurrentScreen(parent_screen);
« no previous file with comments | « chrome/browser/chromeos/login/wizard_controller.h ('k') | chrome/browser/chromeos/policy/device_local_account_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698