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

Side by Side Diff: ui/base/cursor/cursor_type.h

Issue 2949353003: Implement large cursors in Mushrome. (Closed)
Patch Set: rename everything to CursorSize Created 3 years, 6 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/base/cursor/cursor_loader_x11.cc ('k') | ui/base/cursor/cursors_aura.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 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 UI_BASE_CURSOR_CURSOR_TYPE_H_
6 #define UI_BASE_CURSOR_CURSOR_TYPE_H_
7
8 namespace ui {
9
10 enum class CursorType {
11 // Equivalent to a NULL HCURSOR on Windows.
12 kNull = 0,
13
14 // These cursors mirror WebKit cursors from WebCursorInfo, but are replicated
15 // here so we don't introduce a WebKit dependency.
16 kPointer = 1,
17 kCross = 2,
18 kHand = 3,
19 kIBeam = 4,
20 kWait = 5,
21 kHelp = 6,
22 kEastResize = 7,
23 kNorthResize = 8,
24 kNorthEastResize = 9,
25 kNorthWestResize = 10,
26 kSouthResize = 11,
27 kSouthEastResize = 12,
28 kSouthWestResize = 13,
29 kWestResize = 14,
30 kNorthSouthResize = 15,
31 kEastWestResize = 16,
32 kNorthEastSouthWestResize = 17,
33 kNorthWestSouthEastResize = 18,
34 kColumnResize = 19,
35 kRowResize = 20,
36 kMiddlePanning = 21,
37 kEastPanning = 22,
38 kNorthPanning = 23,
39 kNorthEastPanning = 24,
40 kNorthWestPanning = 25,
41 kSouthPanning = 26,
42 kSouthEastPanning = 27,
43 kSouthWestPanning = 28,
44 kWestPanning = 29,
45 kMove = 30,
46 kVerticalText = 31,
47 kCell = 32,
48 kContextMenu = 33,
49 kAlias = 34,
50 kProgress = 35,
51 kNoDrop = 36,
52 kCopy = 37,
53 kNone = 38,
54 kNotAllowed = 39,
55 kZoomIn = 40,
56 kZoomOut = 41,
57 kGrab = 42,
58 kGrabbing = 43,
59 kCustom = 44,
60
61 // These additional drag and drop cursors are not listed in WebCursorInfo.
62 kDndNone = 45,
63 kDndMove = 46,
64 kDndCopy = 47,
65 kDndLink = 48,
66 };
67
68 enum class CursorSize { kNormal, kLarge };
69
70 } // namespace ui
71
72 #endif // UI_BASE_CURSOR_CURSOR_TYPE_H_
OLDNEW
« no previous file with comments | « ui/base/cursor/cursor_loader_x11.cc ('k') | ui/base/cursor/cursors_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698