OLD | NEW |
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_HOST_CHROMOTING_MESSAGES_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
7 | 7 |
8 #include "ipc/ipc_platform_file.h" | 8 #include "ipc/ipc_platform_file.h" |
9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
10 #include "remoting/host/chromoting_param_traits.h" | 10 #include "remoting/host/chromoting_param_traits.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 // Captured region. | 154 // Captured region. |
155 IPC_STRUCT_MEMBER(std::vector<webrtc::DesktopRect>, dirty_region) | 155 IPC_STRUCT_MEMBER(std::vector<webrtc::DesktopRect>, dirty_region) |
156 | 156 |
157 // Dimensions of the buffer in pixels. | 157 // Dimensions of the buffer in pixels. |
158 IPC_STRUCT_MEMBER(webrtc::DesktopSize, dimensions) | 158 IPC_STRUCT_MEMBER(webrtc::DesktopSize, dimensions) |
159 | 159 |
160 // Time spent in capture. Unit is in milliseconds. | 160 // Time spent in capture. Unit is in milliseconds. |
161 IPC_STRUCT_MEMBER(int64, capture_time_ms) | 161 IPC_STRUCT_MEMBER(int64, capture_time_ms) |
162 | 162 |
163 // Sequence number supplied by client for performance tracking. | 163 // Latest event timestamp supplied by the client for performance tracking. |
164 IPC_STRUCT_MEMBER(int64, client_sequence_number) | 164 IPC_STRUCT_MEMBER(int64, latest_event_timestamp) |
165 | 165 |
166 // DPI for this frame. | 166 // DPI for this frame. |
167 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) | 167 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) |
168 IPC_STRUCT_END() | 168 IPC_STRUCT_END() |
169 | 169 |
170 // Notifies the network process that a shared buffer has been created. | 170 // Notifies the network process that a shared buffer has been created. |
171 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted, | 171 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted, |
172 SerializedDesktopFrame /* frame */ ) | 172 SerializedDesktopFrame /* frame */ ) |
173 | 173 |
174 // Carries a cursor share update from the desktop session agent to the client. | 174 // Carries a cursor share update from the desktop session agent to the client. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 std::string /* serialized_event */ ) | 216 std::string /* serialized_event */ ) |
217 | 217 |
218 // Carries a mouse event from the client to the desktop session agent. | 218 // Carries a mouse event from the client to the desktop session agent. |
219 // |serialized_event| is a serialized protocol::MouseEvent. | 219 // |serialized_event| is a serialized protocol::MouseEvent. |
220 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, | 220 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, |
221 std::string /* serialized_event */ ) | 221 std::string /* serialized_event */ ) |
222 | 222 |
223 // Changes the screen resolution in the desktop session. | 223 // Changes the screen resolution in the desktop session. |
224 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, | 224 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, |
225 remoting::ScreenResolution /* resolution */) | 225 remoting::ScreenResolution /* resolution */) |
OLD | NEW |