OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |