mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
26 lines
924 B
Plaintext
26 lines
924 B
Plaintext
|
// 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.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,
|
||
|
array<skia.mojom.Bitmap> 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);
|
||
|
};
|
||
|
|