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

Side by Side Diff: ui/ozone/public/interfaces/device_cursor.mojom

Issue 2850733003: Remove BitmapArray. (Closed)
Patch Set: Remove more headers. Created 3 years, 7 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/BUILD.gn ('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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ui.ozone.mojom; 5 module ui.ozone.mojom;
6 6
7 import "skia/public/interfaces/bitmap_array.mojom"; 7 import "skia/public/interfaces/bitmap.mojom";
8 import "ui/gfx/geometry/mojo/geometry.mojom"; 8 import "ui/gfx/geometry/mojo/geometry.mojom";
9 import "ui/gfx/mojo/accelerated_widget.mojom"; 9 import "ui/gfx/mojo/accelerated_widget.mojom";
10 10
11 // The DeviceCursor setting interface provided by a Mojo-enabled Ozone platform 11 // The DeviceCursor setting interface provided by a Mojo-enabled Ozone platform
12 // where functionality equivalent to the DrmCursorProxy is exposed by a 12 // where functionality equivalent to the DrmCursorProxy is exposed by a
13 // dedicated thread within the Ozone platform. 13 // dedicated thread within the Ozone platform.
14 interface DeviceCursor { 14 interface DeviceCursor {
15 // Sets the cursor |bitmaps| on |window| at |point| with 15 // Sets the cursor |bitmaps| on |window| at |point| with
16 // |frame_delay_ms|. 16 // |frame_delay_ms|.
17 SetCursor(gfx.mojom.AcceleratedWidget window, 17 SetCursor(gfx.mojom.AcceleratedWidget window,
18 skia.mojom.BitmapArray bitmaps, 18 array<skia.mojom.Bitmap> bitmaps,
19 gfx.mojom.Point point, 19 gfx.mojom.Point point,
20 int32 frame_delay_ms); 20 int32 frame_delay_ms);
21 21
22 // Moves the cursor in |window| to |point|. 22 // Moves the cursor in |window| to |point|.
23 MoveCursor(gfx.mojom.AcceleratedWidget window, gfx.mojom.Point point); 23 MoveCursor(gfx.mojom.AcceleratedWidget window, gfx.mojom.Point point);
24 }; 24 };
25 25
OLDNEW
« no previous file with comments | « ui/ozone/public/interfaces/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698