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

Unified Diff: ui/ozone/platform/drm/gpu/drm_device.h

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/common/drm_util.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_device.h
diff --git a/ui/ozone/platform/drm/gpu/drm_device.h b/ui/ozone/platform/drm/gpu/drm_device.h
index 70113d377ac4e10f5428ea7911dc089a554582cc..f8aa5c38d361efedde1a72a40b64d6e315968e50 100644
--- a/ui/ozone/platform/drm/gpu/drm_device.h
+++ b/ui/ozone/platform/drm/gpu/drm_device.h
@@ -26,10 +26,13 @@ typedef struct _drmModeModeInfo drmModeModeInfo;
struct SkImageInfo;
+namespace display {
+struct GammaRampRGBEntry;
+}
+
namespace ui {
class HardwareDisplayPlaneManager;
-struct GammaRampRGBEntry;
// Wraps DRM calls into a nice interface. Used to provide different
// implementations of the DRM calls. For the actual implementation the DRM API
@@ -158,8 +161,8 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
virtual bool SetColorCorrection(
uint32_t crtc_id,
- const std::vector<GammaRampRGBEntry>& degamma_lut,
- const std::vector<GammaRampRGBEntry>& gamma_lut,
+ const std::vector<display::GammaRampRGBEntry>& degamma_lut,
+ const std::vector<display::GammaRampRGBEntry>& gamma_lut,
const std::vector<float>& correction_matrix);
virtual bool SetCapability(uint64_t capability, uint64_t value);
@@ -186,7 +189,7 @@ class DrmDevice : public base::RefCountedThreadSafe<DrmDevice> {
class PageFlipManager;
bool SetGammaRamp(uint32_t crtc_id,
- const std::vector<GammaRampRGBEntry>& lut);
+ const std::vector<display::GammaRampRGBEntry>& lut);
// Path to the DRM device (in sysfs).
const base::FilePath device_path_;
« no previous file with comments | « ui/ozone/platform/drm/common/drm_util.cc ('k') | ui/ozone/platform/drm/gpu/drm_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698