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

Side by Side Diff: ui/wayland/wayland_cursor.h

Issue 7457023: Adding a Wayland basic toolkit (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef WAYLAND_CURSOR_H_
6 #define WAYLAND_CURSOR_H_
7
8 #include <wayland-client.h>
9
10 class WaylandDisplay;
11 class WaylandShmBuffer;
12
13 class WaylandCursor {
14 public:
15 enum WaylandCursorType {
16 ARROW_CURSOR,
17 HAND_CURSOR,
18 };
19
20 WaylandCursor(WaylandDisplay* display);
21
22 void ChangeCursor(WaylandCursorType type);
23
24 private:
25 WaylandDisplay* display_;
26 WaylandShmBuffer* buffer_;
27 };
28
29 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698