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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/oobe_ui.cc

Issue 2424853003: Remove FOR_EACH_OBSERVER macro usage in chrome/browser/ui (Closed)
Patch Set: explicit types Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698