- add sources.
[platform/framework/web/crosswalk.git] / src / content / renderer / cursor_utils.h
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.
4
5 #ifndef CONTENT_RENDERER_CURSOR_UTILS_H_
6 #define CONTENT_RENDERER_CURSOR_UTILS_H_
7
8 class WebCursor;
9
10 namespace WebKit {
11 struct WebCursorInfo;
12 }
13
14 namespace content {
15
16 // Adapts our cursor info to WebKit::WebCursorInfo.
17 bool GetWebKitCursorInfo(const WebCursor& cursor,
18                          WebKit::WebCursorInfo* webkit_cursor_info);
19
20 // Adapts WebKit::CursorInfo to our cursor.
21 void InitializeCursorFromWebKitCursorInfo(
22     WebCursor* cursor,
23     const WebKit::WebCursorInfo& webkit_cursor_info);
24
25 }  // namespace content
26
27 #endif  // CONTENT_RENDERER_CURSOR_UTILS_H_