| 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 ASH_DISPLAY_SCREEN_ASH_H_ | 5 #ifndef ASH_DISPLAY_SCREEN_ASH_H_ |
| 6 #define ASH_DISPLAY_SCREEN_ASH_H_ | 6 #define ASH_DISPLAY_SCREEN_ASH_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // Notifies observers of display configuration changes. | 46 // Notifies observers of display configuration changes. |
| 47 void NotifyMetricsChanged(const gfx::Display& display, uint32_t metrics); | 47 void NotifyMetricsChanged(const gfx::Display& display, uint32_t metrics); |
| 48 void NotifyDisplayAdded(const gfx::Display& display); | 48 void NotifyDisplayAdded(const gfx::Display& display); |
| 49 void NotifyDisplayRemoved(const gfx::Display& display); | 49 void NotifyDisplayRemoved(const gfx::Display& display); |
| 50 | 50 |
| 51 // Creates a screen that can be used during shutdown. | 51 // Creates a screen that can be used during shutdown. |
| 52 // It simply has a copy of the displays. | 52 // It simply has a copy of the displays. |
| 53 gfx::Screen* CloneForShutdown(); | 53 gfx::Screen* CloneForShutdown(); |
| 54 | 54 |
| 55 ObserverList<gfx::DisplayObserver> observers_; | 55 base::ObserverList<gfx::DisplayObserver> observers_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); | 57 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace ash | 60 } // namespace ash |
| 61 | 61 |
| 62 #endif // ASH_DISPLAY_SCREEN_ASH_H_ | 62 #endif // ASH_DISPLAY_SCREEN_ASH_H_ |
| OLD | NEW |