| 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_DISPLAY_TYPES_CHROMEOS_DISPLAY_SNAPSHOT_H_ | 5 #ifndef UI_DISPLAY_TYPES_DISPLAY_SNAPSHOT_H_ |
| 6 #define UI_DISPLAY_TYPES_CHROMEOS_DISPLAY_SNAPSHOT_H_ | 6 #define UI_DISPLAY_TYPES_DISPLAY_SNAPSHOT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ui/display/types/chromeos/display_mode.h" | |
| 11 #include "ui/display/types/display_constants.h" | 10 #include "ui/display/types/display_constants.h" |
| 11 #include "ui/display/types/display_mode.h" |
| 12 #include "ui/gfx/geometry/point.h" | 12 #include "ui/gfx/geometry/point.h" |
| 13 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
| 14 | 14 |
| 15 namespace ui { | 15 namespace ui { |
| 16 | 16 |
| 17 // This class represents the state of a display at one point in time. Platforms | 17 // This class represents the state of a display at one point in time. Platforms |
| 18 // will extend this class in order to add platform specific configuration and | 18 // will extend this class in order to add platform specific configuration and |
| 19 // identifiers required to configure this display. | 19 // identifiers required to configure this display. |
| 20 class DISPLAY_TYPES_EXPORT DisplaySnapshot { | 20 class DISPLAY_TYPES_EXPORT DisplaySnapshot { |
| 21 public: | 21 public: |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 const DisplayMode* current_mode_; | 80 const DisplayMode* current_mode_; |
| 81 | 81 |
| 82 // "Best" mode supported by the output. | 82 // "Best" mode supported by the output. |
| 83 const DisplayMode* native_mode_; | 83 const DisplayMode* native_mode_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshot); | 85 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshot); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace ui | 88 } // namespace ui |
| 89 | 89 |
| 90 #endif // UI_DISPLAY_TYPES_CHROMEOS_DISPLAY_SNAPSHOT_H_ | 90 #endif // UI_DISPLAY_TYPES_DISPLAY_SNAPSHOT_H_ |
| OLD | NEW |