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

Unified Diff: remoting/proto/control.proto

Issue 10382184: [Chromoting] Initial plumbing for cursor shape. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Call SetCursor only for native format images Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: remoting/proto/control.proto
diff --git a/remoting/proto/control.proto b/remoting/proto/control.proto
index 6c003897cbfa707daeb639719062b722ebbd4da9..ebe035877bc5b446f05ff902654c40e029741cac 100644
--- a/remoting/proto/control.proto
+++ b/remoting/proto/control.proto
@@ -20,3 +20,16 @@ message VideoControl {
// Enables the video channel if true, pauses if false.
optional bool enable = 1;
}
+
+message CursorShapeInfo {
+ // Width, height (in screen pixels) of the cursor.
+ optional int32 width = 1;
+ optional int32 height = 2;
+
+ // X,Y coordinates (relative to upper-left corner) of the cursor hotspot.
+ optional int32 hotspot_x = 3;
+ optional int32 hotspot_y = 4;
+
+ // Cursor pixmap data in 32-bit BGRA format.
+ optional bytes data = 5;
+}

Powered by Google App Engine
This is Rietveld 408576698