| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "ui/display/display_observer.h" | 14 #include "ui/display/display_observer.h" |
| 15 #include "ui/display/screen.h" | 15 #include "ui/display/screen.h" |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 class Rect; | 18 class Rect; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace ash { | 21 namespace ash { |
| 22 namespace internal { | 22 namespace internal { |
| 23 class DisplayManager; | 23 class DisplayManager; |
| 24 } | 24 } |
| 25 | 25 |
| 26 // Aura implementation of display::Screen. Implemented here to avoid circular | 26 // Aura implementation of display::Screen. Implemented here to avoid circular |
| 27 // dependencies. | 27 // dependencies. |
| 28 class ASH_EXPORT ScreenAsh : public display::Screen { | 28 class ASH_EXPORT ScreenAsh : public display::Screen { |
| 29 public: | 29 public: |
| 30 ScreenAsh(); | 30 ScreenAsh(); |
| 31 ~ScreenAsh() override; | 31 ~ScreenAsh() override; |
| 32 | 32 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 58 display::Screen* CloneForShutdown(); | 58 display::Screen* CloneForShutdown(); |
| 59 | 59 |
| 60 base::ObserverList<display::DisplayObserver> observers_; | 60 base::ObserverList<display::DisplayObserver> observers_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); | 62 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace ash | 65 } // namespace ash |
| 66 | 66 |
| 67 #endif // ASH_DISPLAY_SCREEN_ASH_H_ | 67 #endif // ASH_DISPLAY_SCREEN_ASH_H_ |
| OLD | NEW |