Index: remoting/host/chromoting_messages.h |
diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h |
index e56b0f3a19d54c82c6b64b30271da24a64fd4f9d..00273001e423867bf0f82b4beb7ec115d8437b8c 100644 |
--- a/remoting/host/chromoting_messages.h |
+++ b/remoting/host/chromoting_messages.h |
@@ -138,11 +138,12 @@ IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, |
IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer, |
int /* id */) |
-IPC_STRUCT_TRAITS_BEGIN(webrtc::MouseCursorShape) |
- IPC_STRUCT_TRAITS_MEMBER(size) |
- IPC_STRUCT_TRAITS_MEMBER(hotspot) |
- IPC_STRUCT_TRAITS_MEMBER(data) |
-IPC_STRUCT_TRAITS_END() |
+// Serialized webrtc::MouseCursor. |
+IPC_STRUCT_BEGIN(SerializedMouseCursor) |
Sergey Ulanov
2013/12/03 21:47:28
You can make webrtc::MouseCursor serializable with
dcaiafa
2013/12/10 01:32:03
Done.
|
+ IPC_STRUCT_MEMBER(webrtc::DesktopSize, size) |
+ IPC_STRUCT_MEMBER(webrtc::DesktopVector, hotspot) |
+ IPC_STRUCT_MEMBER(std::string, data) |
+IPC_STRUCT_END() |
// Serialized webrtc::DesktopFrame. |
IPC_STRUCT_BEGIN(SerializedDesktopFrame) |
@@ -173,8 +174,8 @@ IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted, |
SerializedDesktopFrame /* frame */ ) |
// Carries a cursor share update from the desktop session agent to the client. |
-IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CursorShapeChanged, |
- webrtc::MouseCursorShape /* cursor_shape */ ) |
+IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_MouseCursor, |
+ SerializedMouseCursor /* cursor */ ) |
// Carries a clipboard event from the desktop session agent to the client. |
// |serialized_event| is a serialized protocol::ClipboardEvent. |