Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1247)

Side by Side Diff: remoting/capturer/mouse_cursor_shape.h

Issue 11470028: Move screen capturers to remoting/capturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 namespace remoting {
11
12 // Type is used to define shape of the mouse cursor.
Wez 2012/12/11 05:23:18 nit: Clarify that this is used to return cursor sh
Sergey Ulanov 2012/12/12 18:31:12 Done.
13 struct MouseCursorShape {
14 MouseCursorShape();
15 ~MouseCursorShape();
16
17 // Width, height (in screen pixels) of the cursor.
18 int width;
19 int height;
Wez 2012/12/11 05:23:18 nit: Use SkISize here.
Sergey Ulanov 2012/12/12 18:31:12 Done.
20
21 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot.
22 int hotspot_x;
23 int hotspot_y;
Wez 2012/12/11 05:23:18 nit: Use SkIPoint here.
Sergey Ulanov 2012/12/12 18:31:12 Done.
24
25 // Cursor pixmap data in 32-bit BGRA format.
26 std::string data;
alexeypa (please no reviews) 2012/12/12 19:53:10 nit: std::vector<uint8> is more appropriate here.
27 };
28
29 } // namespace remoting
30
31 #endif // REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698