| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ui/display/fake_display_delegate.h" | 5 #include "ui/display/fake_display_delegate.h" |
| 6 | 6 |
| 7 #include <inttypes.h> | 7 #include <inttypes.h> |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 } | 221 } |
| 222 } | 222 } |
| 223 | 223 |
| 224 return true; | 224 return true; |
| 225 } | 225 } |
| 226 | 226 |
| 227 void FakeDisplayDelegate::OnConfigurationChanged() { | 227 void FakeDisplayDelegate::OnConfigurationChanged() { |
| 228 if (!initialized_) | 228 if (!initialized_) |
| 229 return; | 229 return; |
| 230 | 230 |
| 231 FOR_EACH_OBSERVER(ui::NativeDisplayObserver, observers_, | 231 for (ui::NativeDisplayObserver& observer : observers_) |
| 232 OnConfigurationChanged()); | 232 observer.OnConfigurationChanged(); |
| 233 } | 233 } |
| 234 | 234 |
| 235 } // namespace display | 235 } // namespace display |
| OLD | NEW |