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

Side by Side Diff: ui/aura/cursor.h

Issue 9463003: aura-x11: Add custom web cursor support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/root_window.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 (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 UI_AURA_CURSOR_H_
6 #define UI_AURA_CURSOR_H_
7 #pragma once
8
9 namespace aura {
10
11 // TODO(jamescook): Once we're on C++0x we could change these constants
12 // to an enum and forward declare it in native_widget_types.h.
13
14 // Equivalent to a NULL HCURSOR on Windows.
15 const int kCursorNull = 0;
16
17 // Aura cursors mirror WebKit cursors from WebCursorInfo, but are replicated
18 // here so we don't introduce a WebKit dependency.
19 const int kCursorPointer = 1;
20 const int kCursorCross = 2;
21 const int kCursorHand = 3;
22 const int kCursorIBeam = 4;
23 const int kCursorWait = 5;
24 const int kCursorHelp = 6;
25 const int kCursorEastResize = 7;
26 const int kCursorNorthResize = 8;
27 const int kCursorNorthEastResize = 9;
28 const int kCursorNorthWestResize = 10;
29 const int kCursorSouthResize = 11;
30 const int kCursorSouthEastResize = 12;
31 const int kCursorSouthWestResize = 13;
32 const int kCursorWestResize = 14;
33 const int kCursorNorthSouthResize = 15;
34 const int kCursorEastWestResize = 16;
35 const int kCursorNorthEastSouthWestResize = 17;
36 const int kCursorNorthWestSouthEastResize = 18;
37 const int kCursorColumnResize = 19;
38 const int kCursorRowResize = 20;
39 const int kCursorMiddlePanning = 21;
40 const int kCursorEastPanning = 22;
41 const int kCursorNorthPanning = 23;
42 const int kCursorNorthEastPanning = 24;
43 const int kCursorNorthWestPanning = 25;
44 const int kCursorSouthPanning = 26;
45 const int kCursorSouthEastPanning = 27;
46 const int kCursorSouthWestPanning = 28;
47 const int kCursorWestPanning = 29;
48 const int kCursorMove = 30;
49 const int kCursorVerticalText = 31;
50 const int kCursorCell = 32;
51 const int kCursorContextMenu = 33;
52 const int kCursorAlias = 34;
53 const int kCursorProgress = 35;
54 const int kCursorNoDrop = 36;
55 const int kCursorCopy = 37;
56 const int kCursorNone = 38;
57 const int kCursorNotAllowed = 39;
58 const int kCursorZoomIn = 40;
59 const int kCursorZoomOut = 41;
60 const int kCursorGrab = 42;
61 const int kCursorGrabbing = 43;
62 const int kCursorCustom = 44;
63
64 } // namespace aura
65
66 #endif // UI_AURA_CURSOR_H_
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/root_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698