OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 WEBKIT_GLUE_CURSOR_UTILS_H_ | 5 #ifndef WEBKIT_GLUE_CURSOR_UTILS_H_ |
6 #define WEBKIT_GLUE_CURSOR_UTILS_H_ | 6 #define WEBKIT_GLUE_CURSOR_UTILS_H_ |
7 | 7 |
8 #include "webkit/glue/webcursor.h" | 8 #include "webkit/common/cursors/webcursor.h" |
9 #include "webkit/glue/webkit_glue_export.h" | 9 #include "webkit/glue/webkit_glue_export.h" |
10 | 10 |
11 namespace WebKit { | 11 namespace WebKit { |
12 struct WebCursorInfo; | 12 struct WebCursorInfo; |
13 }; | 13 }; |
14 | 14 |
15 namespace webkit_glue { | 15 namespace webkit_glue { |
16 | 16 |
17 // Adapts our cursor info to WebKit::WebCursorInfo. | 17 // Adapts our cursor info to WebKit::WebCursorInfo. |
18 WEBKIT_GLUE_EXPORT bool GetWebKitCursorInfo( | 18 WEBKIT_GLUE_EXPORT bool GetWebKitCursorInfo( |
19 const WebCursor& cursor, | 19 const WebCursor& cursor, |
20 WebKit::WebCursorInfo* webkit_cursor_info); | 20 WebKit::WebCursorInfo* webkit_cursor_info); |
21 | 21 |
22 // Adapts WebKit::CursorInfo to our cursor. | 22 // Adapts WebKit::CursorInfo to our cursor. |
23 WEBKIT_GLUE_EXPORT void InitializeCursorFromWebKitCursorInfo( | 23 WEBKIT_GLUE_EXPORT void InitializeCursorFromWebKitCursorInfo( |
24 WebCursor* cursor, | 24 WebCursor* cursor, |
25 const WebKit::WebCursorInfo& webkit_cursor_info); | 25 const WebKit::WebCursorInfo& webkit_cursor_info); |
26 | 26 |
27 } // namespace webkit_glue | 27 } // namespace webkit_glue |
28 | 28 |
29 #endif // WEBKIT_GLUE_CURSOR_UTILS_H_ | 29 #endif // WEBKIT_GLUE_CURSOR_UTILS_H_ |
OLD | NEW |