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

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: more proof-reading 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 707509ae0dae2d34af1f0988e54d17254fcc0c78..a82ca8295c86a9af7c6318475618a857da86f0de 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/cursor.mojom.h"
+
+namespace shell {
+class Connection;
+}
namespace ui {
@@ -43,6 +48,9 @@ class DrmThreadProxy {
void GetScanoutFormats(gfx::AcceleratedWidget widget,
std::vector<gfx::BufferFormat>* scanout_formats);
+ void AddBinding(shell::Connection* connection,
+ ozone::mojom::CursorRequest request);
+
private:
DrmThread drm_thread_;

Powered by Google App Engine
This is Rietveld 408576698