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

Unified Diff: chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc

Issue 2713513009: cros: Break BaseScreenHandler into two classes. (Closed)
Patch Set: Add comments, fix 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
Index: chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc
index e77bfc9e668fe2bfb4807e892f1424d2218b0023..a2c7493c08e43bd3c4b54e8d50ddf24af87b840b 100644
--- a/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/controller_pairing_screen_handler.cc
@@ -30,7 +30,8 @@ bool IsBootstrappingMaster() {
} // namespace
-ControllerPairingScreenHandler::ControllerPairingScreenHandler() {
+ControllerPairingScreenHandler::ControllerPairingScreenHandler()
+ : BaseScreenHandler(kScreenId) {
set_call_js_prefix(kJsScreenPath);
}
@@ -150,7 +151,7 @@ void ControllerPairingScreenHandler::Show() {
show_on_init_ = true;
return;
}
- ShowScreen(OobeScreen::SCREEN_OOBE_CONTROLLER_PAIRING);
+ ShowScreen(kScreenId);
}
void ControllerPairingScreenHandler::Hide() {

Powered by Google App Engine
This is Rietveld 408576698