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/screens/base_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| 10 #include "chrome/browser/chromeos/login/screens/screen_context.h" |
10 #include "chrome/browser/chromeos/login/screens/screen_factory.h" | 11 #include "chrome/browser/chromeos/login/screens/screen_factory.h" |
11 #include "chrome/browser/chromeos/login/screens/screen_flow.h" | 12 #include "chrome/browser/chromeos/login/screens/screen_flow.h" |
12 #include "chrome/browser/chromeos/login/ui/oobe_display.h" | 13 #include "chrome/browser/chromeos/login/ui/oobe_display.h" |
13 | 14 |
14 namespace chromeos { | 15 namespace chromeos { |
15 | 16 |
16 ScreenManager::ScreenManager(ScreenFactory* factory, | 17 ScreenManager::ScreenManager(ScreenFactory* factory, |
17 OobeDisplay* oobe_display, | 18 OobeDisplay* oobe_display, |
18 ScreenFlow* initial_flow) | 19 ScreenFlow* initial_flow) |
19 : factory_(factory), | 20 : factory_(factory), |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 } | 164 } |
164 | 165 |
165 void ScreenManager::OnContextChanged(const std::string& screen_name, | 166 void ScreenManager::OnContextChanged(const std::string& screen_name, |
166 const base::DictionaryValue* diff) { | 167 const base::DictionaryValue* diff) { |
167 CallOnScreen<const base::DictionaryValue*>(screen_name, | 168 CallOnScreen<const base::DictionaryValue*>(screen_name, |
168 &BaseScreen::OnContextChanged, | 169 &BaseScreen::OnContextChanged, |
169 diff); | 170 diff); |
170 } | 171 } |
171 | 172 |
172 } // namespace chromeos | 173 } // namespace chromeos |
OLD | NEW |