| Index: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
|
| index 57a46e7f92e66bee12be6bca6afc2c1d26035efb..e7d1eddf45a78367222a6b0533249368f9b7dba4 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/memory/ref_counted_memory.h"
|
| #include "base/values.h"
|
| #include "chrome/browser/browser_about_handler.h"
|
| +#include "chrome/browser/chrome_notification_types.h"
|
| #include "chrome/browser/chromeos/kiosk_mode/kiosk_mode_settings.h"
|
| #include "chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h"
|
| #include "chrome/browser/chromeos/login/login_display_host_impl.h"
|
| @@ -466,6 +467,17 @@ const std::string& OobeUI::GetScreenName(Screen screen) const {
|
|
|
| void OobeUI::OnCurrentScreenChanged(const std::string& screen) {
|
| if (screen_ids_.count(screen)) {
|
| + OobeDisplay::ScreenTransition details;
|
| + details.previous_screen = current_screen_;
|
| + details.current_screen = screen_ids_[screen];
|
| + DVLOG(1) << "Screen changed from "
|
| + << screen_names_[details.previous_screen]
|
| + << " to " << screen_names_[details.current_screen];
|
| + content::NotificationService::current()->Notify(
|
| + chrome::NOTIFICATION_CURRENT_SCREEN_CHANGED,
|
| + content::NotificationService::AllSources(),
|
| + content::Details<OobeDisplay::ScreenTransition>(&details));
|
| +
|
| current_screen_ = screen_ids_[screen];
|
| } else {
|
| NOTREACHED() << "Screen should be registered in InitializeScreenMaps()";
|
|
|