| 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef WebCursorInfo_h | 31 #ifndef WebCursorInfo_h |
| 32 #define WebCursorInfo_h | 32 #define WebCursorInfo_h |
| 33 | 33 |
| 34 #include "WebImage.h" | 34 #include "WebImage.h" |
| 35 #include "WebPoint.h" | 35 #include "WebPoint.h" |
| 36 | 36 |
| 37 #if INSIDE_BLINK | 37 #if INSIDE_BLINK |
| 38 namespace WebCore { class Cursor; } | 38 namespace blink { class Cursor; } |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #ifdef WIN32 | 41 #ifdef WIN32 |
| 42 typedef struct HICON__* HICON; | 42 typedef struct HICON__* HICON; |
| 43 typedef HICON HCURSOR; | 43 typedef HICON HCURSOR; |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 struct WebCursorInfo { | 48 struct WebCursorInfo { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 explicit WebCursorInfo(Type type = TypePointer) | 109 explicit WebCursorInfo(Type type = TypePointer) |
| 110 : type(type) | 110 : type(type) |
| 111 , imageScaleFactor(1) | 111 , imageScaleFactor(1) |
| 112 { | 112 { |
| 113 #ifdef WIN32 | 113 #ifdef WIN32 |
| 114 externalHandle = 0; | 114 externalHandle = 0; |
| 115 #endif | 115 #endif |
| 116 } | 116 } |
| 117 | 117 |
| 118 #if INSIDE_BLINK | 118 #if INSIDE_BLINK |
| 119 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const WebCore::Cursor&); | 119 BLINK_PLATFORM_EXPORT explicit WebCursorInfo(const blink::Cursor&); |
| 120 #endif | 120 #endif |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| 124 | 124 |
| 125 #endif | 125 #endif |
| OLD | NEW |