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

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

Issue 2504743002: Linux Aura: Fixes and improvements for cursor loader (Closed)
Patch Set: Formatting Created 4 years, 1 month 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/aura/test/aura_test_helper.cc ('k') | ui/base/cursor/cursor_loader_x11.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const int kCursorProgress = 35; 69 const int kCursorProgress = 35;
70 const int kCursorNoDrop = 36; 70 const int kCursorNoDrop = 36;
71 const int kCursorCopy = 37; 71 const int kCursorCopy = 37;
72 const int kCursorNone = 38; 72 const int kCursorNone = 38;
73 const int kCursorNotAllowed = 39; 73 const int kCursorNotAllowed = 39;
74 const int kCursorZoomIn = 40; 74 const int kCursorZoomIn = 40;
75 const int kCursorZoomOut = 41; 75 const int kCursorZoomOut = 41;
76 const int kCursorGrab = 42; 76 const int kCursorGrab = 42;
77 const int kCursorGrabbing = 43; 77 const int kCursorGrabbing = 43;
78 const int kCursorCustom = 44; 78 const int kCursorCustom = 44;
79 const int kCursorDndNone = 45;
80 const int kCursorDndMove = 46;
81 const int kCursorDndCopy = 47;
82 const int kCursorDndLink = 48;
79 83
80 enum CursorSetType { 84 enum CursorSetType {
81 CURSOR_SET_NORMAL, 85 CURSOR_SET_NORMAL,
82 CURSOR_SET_LARGE 86 CURSOR_SET_LARGE
83 }; 87 };
84 88
85 // Ref-counted cursor that supports both default and custom cursors. 89 // Ref-counted cursor that supports both default and custom cursors.
86 class UI_BASE_EXPORT Cursor { 90 class UI_BASE_EXPORT Cursor {
87 public: 91 public:
88 Cursor(); 92 Cursor();
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 138
135 PlatformCursor platform_cursor_; 139 PlatformCursor platform_cursor_;
136 140
137 // The device scale factor for the cursor. 141 // The device scale factor for the cursor.
138 float device_scale_factor_; 142 float device_scale_factor_;
139 }; 143 };
140 144
141 } // namespace ui 145 } // namespace ui
142 146
143 #endif // UI_BASE_CURSOR_CURSOR_H_ 147 #endif // UI_BASE_CURSOR_CURSOR_H_
OLDNEW
« no previous file with comments | « ui/aura/test/aura_test_helper.cc ('k') | ui/base/cursor/cursor_loader_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698