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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.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/gpu/drm_gpu_display_manager.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.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_thread.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.h b/ui/ozone/platform/drm/gpu/drm_thread.h
index 8b8743b7640b5a50e72a74285d8a9b6698eec480..fe3864e86144a9ca62f16532e631499823a5643c 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -26,6 +26,10 @@ namespace base {
struct FileDescriptor;
}
+namespace display {
+struct GammaRampRGBEntry;
+}
+
namespace gfx {
class Point;
class Rect;
@@ -39,7 +43,6 @@ class GbmBuffer;
class ScanoutBufferGenerator;
class ScreenManager;
-struct GammaRampRGBEntry;
struct OverlayPlane;
// Holds all the DRM related state and performs all DRM related operations.
@@ -111,14 +114,15 @@ class DrmThread : public base::Thread, public ozone::mojom::DeviceCursor {
void RemoveGraphicsDevice(const base::FilePath& path);
void GetHDCPState(
int64_t display_id,
- const base::Callback<void(int64_t, bool, HDCPState)>& callback);
+ const base::Callback<void(int64_t, bool, display::HDCPState)>& callback);
void SetHDCPState(int64_t display_id,
- HDCPState state,
+ display::HDCPState state,
const base::Callback<void(int64_t, bool)>& callback);
- void SetColorCorrection(int64_t display_id,
- const std::vector<GammaRampRGBEntry>& degamma_lut,
- const std::vector<GammaRampRGBEntry>& gamma_lut,
- const std::vector<float>& correction_matrix);
+ void SetColorCorrection(
+ int64_t display_id,
+ const std::vector<display::GammaRampRGBEntry>& degamma_lut,
+ const std::vector<display::GammaRampRGBEntry>& gamma_lut,
+ const std::vector<float>& correction_matrix);
// base::Thread:
void Init() override;
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_gpu_display_manager.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698