Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_device.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_DRM_DEVICE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/files/file.h" 14 #include "base/files/file.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
19 #include "ui/gfx/geometry/rect_f.h" 19 #include "ui/gfx/geometry/rect_f.h"
20 #include "ui/gfx/overlay_transform.h" 20 #include "ui/gfx/overlay_transform.h"
21 #include "ui/ozone/platform/drm/common/scoped_drm_types.h" 21 #include "ui/ozone/platform/drm/common/scoped_drm_types.h"
22 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" 22 #include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h"
23 23
24 typedef struct _drmEventContext drmEventContext; 24 typedef struct _drmEventContext drmEventContext;
25 typedef struct _drmModeModeInfo drmModeModeInfo; 25 typedef struct _drmModeModeInfo drmModeModeInfo;
26 26
27 struct SkImageInfo; 27 struct SkImageInfo;
28 28
29 namespace base {
30 class SingleThreadTaskRunner;
31 } // namespace base
32
33 namespace ui { 29 namespace ui {
34 30
35 class HardwareDisplayPlaneManager; 31 class HardwareDisplayPlaneManager;
36 struct GammaRampRGBEntry; 32 struct GammaRampRGBEntry;
37 33
38 // Wraps DRM calls into a nice interface. Used to provide different 34 // Wraps DRM calls into a nice interface. Used to provide different
39 // implementations of the DRM calls. For the actual implementation the DRM API 35 // implementations of the DRM calls. For the actual implementation the DRM API
40 // would be called. In unit tests this interface would be stubbed. 36 // would be called. In unit tests this interface would be stubbed.
41 class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> { 37 class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
42 public: 38 public:
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 std::unique_ptr<IOWatcher> watcher_; 200 std::unique_ptr<IOWatcher> watcher_;
205 201
206 bool is_primary_device_; 202 bool is_primary_device_;
207 203
208 DISALLOW_COPY_AND_ASSIGN(DrmDevice); 204 DISALLOW_COPY_AND_ASSIGN(DrmDevice);
209 }; 205 };
210 206
211 } // namespace ui 207 } // namespace ui
212 208
213 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_ 209 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DEVICE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/cast/platform_window_cast.h ('k') | ui/ozone/platform/drm/gpu/drm_overlay_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698