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

Side by Side Diff: third_party/WebKit/public/platform/WebCursorInfo.h

Issue 2878403002: Support setting mouse cursor icon in Android N. (Closed)
Patch Set: Support setting mouse cursor icon in Android N Created 3 years, 4 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 26 matching lines...) Expand all
37 #ifdef WIN32 37 #ifdef WIN32
38 typedef struct HICON__* HICON; 38 typedef struct HICON__* HICON;
39 typedef HICON HCURSOR; 39 typedef HICON HCURSOR;
40 #endif 40 #endif
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class Cursor; 44 class Cursor;
45 45
46 struct WebCursorInfo { 46 struct WebCursorInfo {
47 // A Java counterpart will be generated for this enum.
48 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.blink_public.web
49 // GENERATED_JAVA_CLASS_NAME_OVERRIDE: WebCursorInfoType
47 enum Type { 50 enum Type {
48 kTypePointer, 51 kTypePointer,
49 kTypeCross, 52 kTypeCross,
50 kTypeHand, 53 kTypeHand,
51 kTypeIBeam, 54 kTypeIBeam,
52 kTypeWait, 55 kTypeWait,
53 kTypeHelp, 56 kTypeHelp,
54 kTypeEastResize, 57 kTypeEastResize,
55 kTypeNorthResize, 58 kTypeNorthResize,
56 kTypeNorthEastResize, 59 kTypeNorthEastResize,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 115 }
113 116
114 #if INSIDE_BLINK 117 #if INSIDE_BLINK
115 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const Cursor&); 118 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const Cursor&);
116 #endif 119 #endif
117 }; 120 };
118 121
119 } // namespace blink 122 } // namespace blink
120 123
121 #endif 124 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698