| OLD | NEW |
| (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_ | |
| OLD | NEW |