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

Side by Side 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, 4 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 unified diff | Download patch
« no previous file with comments | « ui/ozone/public/interfaces/OWNERS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module ui.ozone.mojom;
6
7 import "skia/public/interfaces/bitmap_array.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "ui/gfx/mojo/accelerated_widget.mojom";
10
11 // The DeviceCursor setting interface provided by a Mojo-enabled Ozone platform
12 // where functionality equivalent to the DrmCursorProxy is exposed by a
13 // dedicated thread within the Ozone platform.
14 interface DeviceCursor {
15 // Sets the cursor |bitmaps| on |window| at |point| with
16 // |frame_delay_ms|.
17 SetCursor(gfx.mojom.AcceleratedWidget window,
18 skia.mojom.BitmapArray bitmaps,
19 gfx.mojom.Point point,
20 int32 frame_delay_ms);
21
22 // Moves the cursor in |window| to |point|.
23 MoveCursor(gfx.mojom.AcceleratedWidget window, gfx.mojom.Point point);
24 };
25
OLDNEW
« 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