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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/capturer/mac/scoped_pixel_buffer_object.cc ('k') | remoting/capturer/mouse_cursor_shape.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/capturer/mouse_cursor_shape.h
diff --git a/remoting/capturer/mouse_cursor_shape.h b/remoting/capturer/mouse_cursor_shape.h
new file mode 100644
index 0000000000000000000000000000000000000000..136728a712a5c9208068c03a76c726e61cb196a1
--- /dev/null
+++ b/remoting/capturer/mouse_cursor_shape.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_
+#define REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_
+
+#include <string>
+
+#include "third_party/skia/include/core/SkPoint.h"
+#include "third_party/skia/include/core/SkRect.h"
+#include "third_party/skia/include/core/SkSize.h"
+
+namespace remoting {
+
+// Type used to return mouse cursor shape from video capturers.
+struct MouseCursorShape {
+ MouseCursorShape();
+ ~MouseCursorShape();
+
+ // Size of the cursor in screen pixels.
+ SkISize size;
+
+ // Coordinates of the cursor hotspot relative to upper-left corner.
+ SkIPoint hotspot;
+
+ // Cursor pixmap data in 32-bit BGRA format.
+ std::string data;
+};
+
+} // namespace remoting
+
+#endif // REMOTING_CAPTURER_MOUSE_CURSOR_SHAPE_H_
« no previous file with comments | « remoting/capturer/mac/scoped_pixel_buffer_object.cc ('k') | remoting/capturer/mouse_cursor_shape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698