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_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ |
6 #define UI_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
15 #include "ui/ozone/platform/drm/gpu/hardware_display_controller.h" | 15 #include "ui/ozone/platform/drm/gpu/hardware_display_controller.h" |
16 | 16 |
17 typedef struct _drmModeModeInfo drmModeModeInfo; | 17 typedef struct _drmModeModeInfo drmModeModeInfo; |
18 | 18 |
19 namespace gfx { | 19 namespace gfx { |
20 class Point; | 20 class Point; |
21 class Rect; | 21 class Rect; |
22 class Size; | |
23 } // namespace gfx | 22 } // namespace gfx |
24 | 23 |
25 namespace ui { | 24 namespace ui { |
26 | 25 |
27 class DrmDevice; | 26 class DrmDevice; |
28 class DrmWindow; | 27 class DrmWindow; |
29 class ScanoutBufferGenerator; | 28 class ScanoutBufferGenerator; |
30 | 29 |
31 // Responsible for keeping track of active displays and configuring them. | 30 // Responsible for keeping track of active displays and configuring them. |
32 class ScreenManager { | 31 class ScreenManager { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 HardwareDisplayControllers controllers_; | 131 HardwareDisplayControllers controllers_; |
133 | 132 |
134 WidgetToWindowMap window_map_; | 133 WidgetToWindowMap window_map_; |
135 | 134 |
136 DISALLOW_COPY_AND_ASSIGN(ScreenManager); | 135 DISALLOW_COPY_AND_ASSIGN(ScreenManager); |
137 }; | 136 }; |
138 | 137 |
139 } // namespace ui | 138 } // namespace ui |
140 | 139 |
141 #endif // UI_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ | 140 #endif // UI_OZONE_PLATFORM_DRM_GPU_SCREEN_MANAGER_H_ |
OLD | NEW |