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

Side by Side Diff: media/video/capture/screen/mouse_cursor_shape.h

Issue 12047101: Move screen capturers from remoting/capturer to media/video/capturer/screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ 5 #ifndef MEDIA_VIDEO_CAPTURE_SCREEN_MOUSE_CURSOR_SHAPE_H_
6 #define REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ 6 #define MEDIA_VIDEO_CAPTURE_SCREEN_MOUSE_CURSOR_SHAPE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "media/base/media_export.h"
10 #include "third_party/skia/include/core/SkPoint.h" 11 #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" 12 #include "third_party/skia/include/core/SkSize.h"
13 13
14 namespace remoting { 14 namespace media {
15 15
16 // Type used to return mouse cursor shape from video capturers. 16 // Type used to return mouse cursor shape from video capturers.
17 struct MouseCursorShape { 17 struct MEDIA_EXPORT MouseCursorShape {
18 MouseCursorShape(); 18 MouseCursorShape();
19 ~MouseCursorShape(); 19 ~MouseCursorShape();
20 20
21 // Size of the cursor in screen pixels. 21 // Size of the cursor in screen pixels.
22 SkISize size; 22 SkISize size;
23 23
24 // Coordinates of the cursor hotspot relative to upper-left corner. 24 // Coordinates of the cursor hotspot relative to upper-left corner.
25 SkIPoint hotspot; 25 SkIPoint hotspot;
26 26
27 // Cursor pixmap data in 32-bit BGRA format. 27 // Cursor pixmap data in 32-bit BGRA format.
28 std::string data; 28 std::string data;
29 }; 29 };
30 30
31 } // namespace remoting 31 } // namespace media
32 32
33 #endif // REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_ 33 #endif // MEDIA_VIDEO_CAPTURE_SCREEN_MOUSE_CURSOR_SHAPE_H_
OLDNEW
« no previous file with comments | « media/video/capture/screen/mac/scoped_pixel_buffer_object.cc ('k') | media/video/capture/screen/mouse_cursor_shape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698