Roll src/third_party/skia ff271c2:b679ca8
[chromium-blink-merge.git] / content / renderer / cursor_utils.h
blobe19f7586fa14298470ceabce980fa7d8793773b3
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 CONTENT_RENDERER_CURSOR_UTILS_H_
6 #define CONTENT_RENDERER_CURSOR_UTILS_H_
8 class WebCursor;
10 namespace blink {
11 struct WebCursorInfo;
14 namespace content {
16 // Adapts our cursor info to blink::WebCursorInfo.
17 bool GetWebKitCursorInfo(const WebCursor& cursor,
18 blink::WebCursorInfo* webkit_cursor_info);
20 // Adapts blink::CursorInfo to our cursor.
21 void InitializeCursorFromWebKitCursorInfo(
22 WebCursor* cursor,
23 const blink::WebCursorInfo& webkit_cursor_info);
25 } // namespace content
27 #endif // CONTENT_RENDERER_CURSOR_UTILS_H_