OLD | NEW |
(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 |
OLD | NEW |