| 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_HOST_DRM_WINDOW_HOST_MANAGER_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_MANAGER_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_MANAGER_H_ | 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 12 #include "ui/gfx/native_widget_types.h" |
| 13 | 13 |
| 14 namespace gfx { | 14 namespace gfx { |
| 15 class Point; | 15 class Point; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace ui { | 18 namespace ui { |
| 19 | 19 |
| 20 class DrmGpuPlatformSupportHost; | |
| 21 class DrmWindowHost; | 20 class DrmWindowHost; |
| 22 | 21 |
| 23 // Responsible for keeping the mapping between the allocated widgets and | 22 // Responsible for keeping the mapping between the allocated widgets and |
| 24 // windows. | 23 // windows. |
| 25 class DrmWindowHostManager { | 24 class DrmWindowHostManager { |
| 26 public: | 25 public: |
| 27 DrmWindowHostManager(); | 26 DrmWindowHostManager(); |
| 28 ~DrmWindowHostManager(); | 27 ~DrmWindowHostManager(); |
| 29 | 28 |
| 30 gfx::AcceleratedWidget NextAcceleratedWidget(); | 29 gfx::AcceleratedWidget NextAcceleratedWidget(); |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 WidgetToWindowMap window_map_; | 63 WidgetToWindowMap window_map_; |
| 65 | 64 |
| 66 gfx::AcceleratedWidget event_grabber_ = gfx::kNullAcceleratedWidget; | 65 gfx::AcceleratedWidget event_grabber_ = gfx::kNullAcceleratedWidget; |
| 67 | 66 |
| 68 DISALLOW_COPY_AND_ASSIGN(DrmWindowHostManager); | 67 DISALLOW_COPY_AND_ASSIGN(DrmWindowHostManager); |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 } // namespace ui | 70 } // namespace ui |
| 72 | 71 |
| 73 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_MANAGER_H_ | 72 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_WINDOW_HOST_MANAGER_H_ |
| OLD | NEW |