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

Unified Diff: ui/ozone/public/interfaces/device_cursor.mojom

Issue 2156093004: Use mojo for cursor control in ozone drm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: corrected small code oversight 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
« no previous file with comments | « ui/ozone/public/interfaces/OWNERS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/interfaces/device_cursor.mojom
diff --git a/ui/ozone/public/interfaces/device_cursor.mojom b/ui/ozone/public/interfaces/device_cursor.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8590caa69400da415192f28e05021774b8699467
--- /dev/null
+++ b/ui/ozone/public/interfaces/device_cursor.mojom
@@ -0,0 +1,25 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module ui.ozone.mojom;
+
+import "skia/public/interfaces/bitmap_array.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+import "ui/gfx/mojo/accelerated_widget.mojom";
+
+// The DeviceCursor setting interface provided by a Mojo-enabled Ozone platform
+// where functionality equivalent to the DrmCursorProxy is exposed by a
+// dedicated thread within the Ozone platform.
+interface DeviceCursor {
+ // Sets the cursor |bitmaps| on |window| at |point| with
+ // |frame_delay_ms|.
+ SetCursor(gfx.mojom.AcceleratedWidget window,
+ skia.mojom.BitmapArray bitmaps,
+ gfx.mojom.Point point,
+ int32 frame_delay_ms);
+
+ // Moves the cursor in |window| to |point|.
+ MoveCursor(gfx.mojom.AcceleratedWidget window, gfx.mojom.Point point);
+};
+
« no previous file with comments | « ui/ozone/public/interfaces/OWNERS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698