| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/screens/screen_manager.h" | 5 #include "chrome/browser/chromeos/login/screens/screen_manager.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "chrome/browser/chromeos/login/oobe_display.h" | |
| 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| 11 #include "chrome/browser/chromeos/login/screens/screen_factory.h" | 10 #include "chrome/browser/chromeos/login/screens/screen_factory.h" |
| 12 #include "chrome/browser/chromeos/login/screens/screen_flow.h" | 11 #include "chrome/browser/chromeos/login/screens/screen_flow.h" |
| 12 #include "chrome/browser/chromeos/login/ui/oobe_display.h" |
| 13 | 13 |
| 14 namespace chromeos { | 14 namespace chromeos { |
| 15 | 15 |
| 16 ScreenManager::ScreenManager(ScreenFactory* factory, | 16 ScreenManager::ScreenManager(ScreenFactory* factory, |
| 17 OobeDisplay* oobe_display, | 17 OobeDisplay* oobe_display, |
| 18 ScreenFlow* initial_flow) | 18 ScreenFlow* initial_flow) |
| 19 : factory_(factory), | 19 : factory_(factory), |
| 20 display_(oobe_display), | 20 display_(oobe_display), |
| 21 flow_(initial_flow), | 21 flow_(initial_flow), |
| 22 weak_factory_(this) { | 22 weak_factory_(this) { |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 } | 163 } |
| 164 | 164 |
| 165 void ScreenManager::OnContextChanged(const std::string& screen_name, | 165 void ScreenManager::OnContextChanged(const std::string& screen_name, |
| 166 const base::DictionaryValue* diff) { | 166 const base::DictionaryValue* diff) { |
| 167 CallOnScreen<const base::DictionaryValue*>(screen_name, | 167 CallOnScreen<const base::DictionaryValue*>(screen_name, |
| 168 &BaseScreen::OnContextChanged, | 168 &BaseScreen::OnContextChanged, |
| 169 diff); | 169 diff); |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace chromeos | 172 } // namespace chromeos |
| OLD | NEW |