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

Unified Diff: ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc

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/host/drm_gpu_platform_support_host.cc
diff --git a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc
index eba9b9a9ce2b4d35ac096bb06e7f0a6a7713382c..a533daa19a21448b2b158b7ed0184d1850995f08 100644
--- a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc
+++ b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.cc
@@ -33,6 +33,8 @@ class CursorIPC : public DrmCursorProxy {
const gfx::Point& point,
int frame_delay_ms) override;
void Move(gfx::AcceleratedWidget window, const gfx::Point& point) override;
+ void MoveEvdev(gfx::AcceleratedWidget window,
+ const gfx::Point& point) override;
void InitializeOnEvdev() override;
private:
@@ -66,6 +68,11 @@ void CursorIPC::Move(gfx::AcceleratedWidget window, const gfx::Point& point) {
Send(new OzoneGpuMsg_CursorMove(window, point));
}
+void CursorIPC::MoveEvdev(gfx::AcceleratedWidget window,
+ const gfx::Point& point) {
+ Send(new OzoneGpuMsg_CursorMove(window, point));
+}
+
void CursorIPC::InitializeOnEvdev() {}
void CursorIPC::Send(IPC::Message* message) {

Powered by Google App Engine
This is Rietveld 408576698