1 // Copyright 2013 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.
5 #ifndef WEBKIT_RENDERER_CURSOR_UTILS_H_
6 #define WEBKIT_RENDERER_CURSOR_UTILS_H_
8 #include "webkit/common/cursors/webcursor.h"
9 #include "webkit/renderer/webkit_renderer_export.h"
15 namespace webkit_glue
{
17 // Adapts our cursor info to WebKit::WebCursorInfo.
18 WEBKIT_RENDERER_EXPORT
bool GetWebKitCursorInfo(
19 const WebCursor
& cursor
,
20 WebKit::WebCursorInfo
* webkit_cursor_info
);
22 // Adapts WebKit::CursorInfo to our cursor.
23 WEBKIT_RENDERER_EXPORT
void InitializeCursorFromWebKitCursorInfo(
25 const WebKit::WebCursorInfo
& webkit_cursor_info
);
27 } // namespace webkit_glue
29 #endif // WEBKIT_RENDERER_CURSOR_UTILS_H_