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

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

Issue 2156093004: Use mojo for cursor control in ozone drm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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
Index: ui/ozone/platform/drm/gpu/drm_thread_proxy.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread_proxy.h b/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
index 312093dd989576a6fcca986e45af8357f4b0d48a..83752113e05a88a313c0514ab5c1397d24af4e93 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread_proxy.h
@@ -10,6 +10,11 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "ui/ozone/platform/drm/gpu/drm_thread.h"
+#include "ui/ozone/public/interfaces/device_cursor.mojom.h"
+
+namespace shell {
+class Connection;
+}
namespace ui {
@@ -44,6 +49,8 @@ class DrmThreadProxy {
void GetScanoutFormats(gfx::AcceleratedWidget widget,
std::vector<gfx::BufferFormat>* scanout_formats);
+ void AddBinding(ozone::mojom::DeviceCursorRequest request);
+
private:
DrmThread drm_thread_;

Powered by Google App Engine
This is Rietveld 408576698