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 Cursor setting interface provided by a Mojo-enabled Ozone platform where | |
12 // functionality equivalent to the DrmCursorProxy is exposed by a dedicated thre ad | |
Tom Sepez
2016/07/19 16:14:38
nit: 80 cols, also line 15
rjkroege
2016/07/21 01:10:42
Done. I naïvely assumed presubmit would check .moj
| |
13 // within the Ozone platform. | |
14 interface Cursor { | |
sky
2016/07/19 13:21:48
Can this be named CursorOzone? I realize that is i
rjkroege
2016/07/21 01:10:42
Having wished for the same thing for bunch of othe
| |
15 // Sets the cursor |bitmaps| on |window| at |point| with |frame_delay_ms |. | |
sky
2016/07/19 13:21:48
nit: 2 spaces? I try to format .mojom files as I w
rjkroege
2016/07/21 01:10:42
Done.
| |
16 SetCursor(gfx.mojom.AcceleratedWidget window, | |
17 skia.mojom.BitmapArray bitmaps, | |
18 gfx.mojom.Point point, | |
19 uint32 frame_delay_ms); | |
20 | |
21 // Moves the cursor in |window| to |point|. | |
22 MoveCursor(gfx.mojom.AcceleratedWidget window, gfx.mojom.Point point); | |
23 }; | |
24 | |
OLD | NEW |