| Index: ui/wayland/wayland_cursor.h
|
| diff --git a/ui/wayland/wayland_cursor.h b/ui/wayland/wayland_cursor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aa2ea419d066cca44bd71c630ae590e652bad7c4
|
| --- /dev/null
|
| +++ b/ui/wayland/wayland_cursor.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2011 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.
|
| +
|
| +#ifndef WAYLAND_CURSOR_H_
|
| +#define WAYLAND_CURSOR_H_
|
| +
|
| +#include <wayland-client.h>
|
| +
|
| +class WaylandDisplay;
|
| +class WaylandShmBuffer;
|
| +
|
| +class WaylandCursor {
|
| + public:
|
| + enum WaylandCursorType {
|
| + ARROW_CURSOR,
|
| + HAND_CURSOR,
|
| + };
|
| +
|
| + WaylandCursor(WaylandDisplay* display);
|
| +
|
| + void ChangeCursor(WaylandCursorType type);
|
| +
|
| + private:
|
| + WaylandDisplay* display_;
|
| + WaylandShmBuffer* buffer_;
|
| +};
|
| +
|
| +#endif
|
|
|