| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_BASE_CURSOR_CURSOR_H_ | 5 #ifndef UI_BASE_CURSOR_CURSOR_H_ |
| 6 #define UI_BASE_CURSOR_CURSOR_H_ | 6 #define UI_BASE_CURSOR_CURSOR_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "ui/base/ui_base_export.h" | 9 #include "ui/base/ui_base_export.h" |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 const int kCursorSouthResize = 11; | 50 const int kCursorSouthResize = 11; |
| 51 const int kCursorSouthEastResize = 12; | 51 const int kCursorSouthEastResize = 12; |
| 52 const int kCursorSouthWestResize = 13; | 52 const int kCursorSouthWestResize = 13; |
| 53 const int kCursorWestResize = 14; | 53 const int kCursorWestResize = 14; |
| 54 const int kCursorNorthSouthResize = 15; | 54 const int kCursorNorthSouthResize = 15; |
| 55 const int kCursorEastWestResize = 16; | 55 const int kCursorEastWestResize = 16; |
| 56 const int kCursorNorthEastSouthWestResize = 17; | 56 const int kCursorNorthEastSouthWestResize = 17; |
| 57 const int kCursorNorthWestSouthEastResize = 18; | 57 const int kCursorNorthWestSouthEastResize = 18; |
| 58 const int kCursorColumnResize = 19; | 58 const int kCursorColumnResize = 19; |
| 59 const int kCursorRowResize = 20; | 59 const int kCursorRowResize = 20; |
| 60 #if defined(OS_WIN) |
| 61 // These cursors are for Windows' pan-scrolling. |
| 60 const int kCursorMiddlePanning = 21; | 62 const int kCursorMiddlePanning = 21; |
| 61 const int kCursorEastPanning = 22; | 63 const int kCursorEastPanning = 22; |
| 62 const int kCursorNorthPanning = 23; | 64 const int kCursorNorthPanning = 23; |
| 63 const int kCursorNorthEastPanning = 24; | 65 const int kCursorNorthEastPanning = 24; |
| 64 const int kCursorNorthWestPanning = 25; | 66 const int kCursorNorthWestPanning = 25; |
| 65 const int kCursorSouthPanning = 26; | 67 const int kCursorSouthPanning = 26; |
| 66 const int kCursorSouthEastPanning = 27; | 68 const int kCursorSouthEastPanning = 27; |
| 67 const int kCursorSouthWestPanning = 28; | 69 const int kCursorSouthWestPanning = 28; |
| 68 const int kCursorWestPanning = 29; | 70 const int kCursorWestPanning = 29; |
| 71 #endif |
| 69 const int kCursorMove = 30; | 72 const int kCursorMove = 30; |
| 70 const int kCursorVerticalText = 31; | 73 const int kCursorVerticalText = 31; |
| 71 const int kCursorCell = 32; | 74 const int kCursorCell = 32; |
| 72 const int kCursorContextMenu = 33; | 75 const int kCursorContextMenu = 33; |
| 73 const int kCursorAlias = 34; | 76 const int kCursorAlias = 34; |
| 74 const int kCursorProgress = 35; | 77 const int kCursorProgress = 35; |
| 75 const int kCursorNoDrop = 36; | 78 const int kCursorNoDrop = 36; |
| 76 const int kCursorCopy = 37; | 79 const int kCursorCopy = 37; |
| 77 const int kCursorNone = 38; | 80 const int kCursorNone = 38; |
| 78 const int kCursorNotAllowed = 39; | 81 const int kCursorNotAllowed = 39; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 142 |
| 140 PlatformCursor platform_cursor_; | 143 PlatformCursor platform_cursor_; |
| 141 | 144 |
| 142 // The device scale factor for the cursor. | 145 // The device scale factor for the cursor. |
| 143 float device_scale_factor_; | 146 float device_scale_factor_; |
| 144 }; | 147 }; |
| 145 | 148 |
| 146 } // namespace ui | 149 } // namespace ui |
| 147 | 150 |
| 148 #endif // UI_BASE_CURSOR_CURSOR_H_ | 151 #endif // UI_BASE_CURSOR_CURSOR_H_ |
| OLD | NEW |