| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/webui/chromeos/login/oobe_ui.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 } | 594 } |
| 595 screen_dimmer_->set_at_bottom(true); | 595 screen_dimmer_->set_at_bottom(true); |
| 596 screen_dimmer_->SetDimming(should_dim); | 596 screen_dimmer_->SetDimming(should_dim); |
| 597 } else { | 597 } else { |
| 598 // TODO: Ash needs to expose screen dimming api. See | 598 // TODO: Ash needs to expose screen dimming api. See |
| 599 // http://crbug.com/646034. | 599 // http://crbug.com/646034. |
| 600 NOTIMPLEMENTED(); | 600 NOTIMPLEMENTED(); |
| 601 } | 601 } |
| 602 | 602 |
| 603 current_screen_ = new_screen; | 603 current_screen_ = new_screen; |
| 604 FOR_EACH_OBSERVER(Observer, | 604 for (Observer& observer : observer_list_) |
| 605 observer_list_, | 605 observer.OnCurrentScreenChanged(current_screen_, new_screen); |
| 606 OnCurrentScreenChanged(current_screen_, new_screen)); | |
| 607 } | 606 } |
| 608 | 607 |
| 609 } // namespace chromeos | 608 } // namespace chromeos |
| OLD | NEW |