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

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
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..5c61f699008e916ac268d2ef5521d8bcdbd5cc8f
--- /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 filerelative to upper-left corner.
+
+#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_

Powered by Google App Engine
This is Rietveld 408576698