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

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

Issue 2894523007: Use display::DisplayMode in ozone/drm/gpu (Closed)
Patch Set: review nits Created 3 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 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 045d917db5384ab858e83790bf0b8cc49eef3d1e..39cc42558b38da482ee2ee144b91dc44b599b35e 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -26,6 +26,7 @@ struct FileDescriptor;
}
namespace display {
+class DisplayMode;
struct GammaRampRGBEntry;
}
@@ -99,7 +100,7 @@ class DrmThread : public base::Thread, public ozone::mojom::DeviceCursor {
base::OnceCallback<void(const std::vector<DisplaySnapshot_Params>&)>
callback);
void ConfigureNativeDisplay(int64_t id,
- const DisplayMode_Params& mode,
+ std::unique_ptr<const display::DisplayMode> mode,
const gfx::Point& origin,
base::OnceCallback<void(int64_t, bool)> callback);
void DisableNativeDisplay(int64_t id,
« 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