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

Side by Side Diff: ui/android/cursor_type.h

Issue 2878403002: Support setting mouse cursor icon in Android N. (Closed)
Patch Set: Support setting pointer icon in Android N Created 3 years, 7 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
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_ANDROID_CURSOR_TYPE_H_
6 #define UI_ANDROID_CURSOR_TYPE_H_
7
8 namespace ui {
9
10 // This file contains a list of CursorType's usable by ViewAndroidDelegate,
Jinsuk Kim 2017/05/17 04:49:50 Remove the description ViewAndroidDelegate as it m
jaebaek 2017/05/18 01:44:28 Done.
11 // providing a direct mapping to and from their corresponding
12 // blink::WebCursorInfo types.
13 //
14 // A Java counterpart will be generated for this enum.
15 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.ui.base
aelias_OOO_until_Jul13 2017/05/17 04:47:15 Can you add this annotation to WebCursorInfo::type
jaebaek 2017/05/18 01:44:28 Done.
16 enum CursorType {
17 CURSOR_TYPE_CUSTOM,
18 CURSOR_TYPE_NULL,
19 CURSOR_TYPE_ARROW,
20 CURSOR_TYPE_CONTEXT_MENU,
21 CURSOR_TYPE_HAND,
22 CURSOR_TYPE_HELP,
23 CURSOR_TYPE_WAIT,
24 CURSOR_TYPE_CELL,
25 CURSOR_TYPE_CROSSHAIR,
26 CURSOR_TYPE_TEXT,
27 CURSOR_TYPE_VERTICAL_TEXT,
28 CURSOR_TYPE_ALIAS,
29 CURSOR_TYPE_COPY,
30 CURSOR_TYPE_NO_DROP,
31 CURSOR_TYPE_ALL_SCROLL,
32 CURSOR_TYPE_HORIZONTAL_DOUBLE_ARROW,
33 CURSOR_TYPE_VERTICAL_DOUBLE_ARROW,
34 CURSOR_TYPE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW,
35 CURSOR_TYPE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW,
36 CURSOR_TYPE_ZOOM_IN,
37 CURSOR_TYPE_ZOOM_OUT,
38 CURSOR_TYPE_GRAB,
39 CURSOR_TYPE_GRABBING
40 };
41
42 } // namespace content
43
44 #endif // CONTENT_BROWSER_ANDROID_CURSOR_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698