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 blink { 11 struct WebCursorInfo; 12 } 13 14 namespace content { 15 16 // Adapts our cursor info to blink::WebCursorInfo. 17 bool GetWebKitCursorInfo(const WebCursor& cursor, 18 blink::WebCursorInfo* webkit_cursor_info); 19 20 // Adapts blink::CursorInfo to our cursor. 21 void InitializeCursorFromWebKitCursorInfo( 22 WebCursor* cursor, 23 const blink::WebCursorInfo& webkit_cursor_info); 24 25 } // namespace content 26 27 #endif // CONTENT_RENDERER_CURSOR_UTILS_H_ 28