OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ | |
6 #define REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "third_party/skia/include/core/SkPoint.h" | |
11 #include "third_party/skia/include/core/SkRect.h" | |
12 #include "third_party/skia/include/core/SkSize.h" | |
13 | |
14 namespace remoting { | |
15 | |
16 // Type used to return mouse cursor shape from video capturers. | |
17 struct MouseCursorShape { | |
18 MouseCursorShape(); | |
19 ~MouseCursorShape(); | |
20 | |
21 // Size of the cursor in screen pixels. | |
22 SkISize size; | |
23 | |
24 // Coordinates of the cursor hotspot relative to upper-left corner. | |
25 SkIPoint hotspot; | |
26 | |
27 // Cursor pixmap data in 32-bit BGRA format. | |
28 std::string data; | |
29 }; | |
30 | |
31 } // namespace remoting | |
32 | |
33 #endif // REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ | |
OLD | NEW |