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

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

Issue 1133053003: [Ozone-Drm] Move DRM utilities from gpu/ to common/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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_DISPLAY_SNAPSHOT_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ui/display/types/display_snapshot.h" 9 #include "ui/display/types/display_snapshot.h"
10 #include "ui/ozone/platform/drm/gpu/scoped_drm_types.h" 10 #include "ui/ozone/platform/drm/common/scoped_drm_types.h"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 class DrmDevice; 14 class DrmDevice;
15 15
16 class DrmDisplaySnapshot : public DisplaySnapshot { 16 class DrmDisplaySnapshot : public DisplaySnapshot {
17 public: 17 public:
18 DrmDisplaySnapshot(const scoped_refptr<DrmDevice>& drm, 18 DrmDisplaySnapshot(const scoped_refptr<DrmDevice>& drm,
19 drmModeConnector* connector, 19 drmModeConnector* connector,
20 drmModeCrtc* crtc, 20 drmModeCrtc* crtc,
(...skipping 15 matching lines...) Expand all
36 uint32_t crtc_; 36 uint32_t crtc_;
37 std::string name_; 37 std::string name_;
38 bool overscan_flag_; 38 bool overscan_flag_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(DrmDisplaySnapshot); 40 DISALLOW_COPY_AND_ASSIGN(DrmDisplaySnapshot);
41 }; 41 };
42 42
43 } // namespace ui 43 } // namespace ui
44 44
45 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_ 45 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_DISPLAY_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_device.cc ('k') | ui/ozone/platform/drm/gpu/drm_display_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698