| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ | 5 #ifndef UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
| 6 #define UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ | 6 #define UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 11 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
| 12 | 13 |
| 13 namespace gfx { | 14 namespace gfx { |
| 14 | 15 |
| 15 class Display; | 16 class Display; |
| 16 class DisplayObserver; | 17 class DisplayObserver; |
| 17 | 18 |
| 18 // DisplayChangeNotifier is a class implementing the handling of DisplayObserver | 19 // DisplayChangeNotifier is a class implementing the handling of DisplayObserver |
| 19 // notification for Screen. | 20 // notification for Screen. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 // or removed. | 35 // or removed. |
| 35 base::ObserverList<DisplayObserver> observer_list_; | 36 base::ObserverList<DisplayObserver> observer_list_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(DisplayChangeNotifier); | 38 DISALLOW_COPY_AND_ASSIGN(DisplayChangeNotifier); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace gfx | 41 } // namespace gfx |
| 41 | 42 |
| 42 #endif // UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ | 43 #endif // UI_GFX_DISPLAY_CHANGE_NOTIFIER_H_ |
| 43 | 44 |
| OLD | NEW |