| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_RENDERER_CURSOR_UTILS_H_ | 5 #ifndef CONTENT_RENDERER_CURSOR_UTILS_H_ |
| 6 #define CONTENT_RENDERER_CURSOR_UTILS_H_ | 6 #define CONTENT_RENDERER_CURSOR_UTILS_H_ |
| 7 | 7 |
| 8 class WebCursor; | 8 class WebCursor; |
| 9 | 9 |
| 10 namespace WebKit { | 10 namespace blink { |
| 11 struct WebCursorInfo; | 11 struct WebCursorInfo; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 | 15 |
| 16 // Adapts our cursor info to WebKit::WebCursorInfo. | 16 // Adapts our cursor info to blink::WebCursorInfo. |
| 17 bool GetWebKitCursorInfo(const WebCursor& cursor, | 17 bool GetWebKitCursorInfo(const WebCursor& cursor, |
| 18 WebKit::WebCursorInfo* webkit_cursor_info); | 18 blink::WebCursorInfo* webkit_cursor_info); |
| 19 | 19 |
| 20 // Adapts WebKit::CursorInfo to our cursor. | 20 // Adapts blink::CursorInfo to our cursor. |
| 21 void InitializeCursorFromWebKitCursorInfo( | 21 void InitializeCursorFromWebKitCursorInfo( |
| 22 WebCursor* cursor, | 22 WebCursor* cursor, |
| 23 const WebKit::WebCursorInfo& webkit_cursor_info); | 23 const blink::WebCursorInfo& webkit_cursor_info); |
| 24 | 24 |
| 25 } // namespace content | 25 } // namespace content |
| 26 | 26 |
| 27 #endif // CONTENT_RENDERER_CURSOR_UTILS_H_ | 27 #endif // CONTENT_RENDERER_CURSOR_UTILS_H_ |
| OLD | NEW |