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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Changes the screen resolution in the given desktop session. | 80 // Changes the screen resolution in the given desktop session. |
81 IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, | 81 IPC_MESSAGE_CONTROL2(ChromotingNetworkDaemonMsg_SetScreenResolution, |
82 int /* terminal_id */, | 82 int /* terminal_id */, |
83 remoting::ScreenResolution /* resolution */) | 83 remoting::ScreenResolution /* resolution */) |
84 | 84 |
85 // Serialized remoting::protocol::TransportRoute structure. | 85 // Serialized remoting::protocol::TransportRoute structure. |
86 IPC_STRUCT_BEGIN(SerializedTransportRoute) | 86 IPC_STRUCT_BEGIN(SerializedTransportRoute) |
87 IPC_STRUCT_MEMBER(int, type) | 87 IPC_STRUCT_MEMBER(int, type) |
88 IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address) | 88 IPC_STRUCT_MEMBER(net::IPAddressNumber, remote_address) |
89 IPC_STRUCT_MEMBER(int, remote_port) | 89 IPC_STRUCT_MEMBER(uint16, remote_port) |
90 IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address) | 90 IPC_STRUCT_MEMBER(net::IPAddressNumber, local_address) |
91 IPC_STRUCT_MEMBER(int, local_port) | 91 IPC_STRUCT_MEMBER(uint16, local_port) |
92 IPC_STRUCT_END() | 92 IPC_STRUCT_END() |
93 | 93 |
94 // Hosts status notifications (see HostStatusObserver interface) sent by | 94 // Hosts status notifications (see HostStatusObserver interface) sent by |
95 // IpcHostEventLogger. | 95 // IpcHostEventLogger. |
96 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_AccessDenied, | 96 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_AccessDenied, |
97 std::string /* jid */) | 97 std::string /* jid */) |
98 | 98 |
99 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_ClientAuthenticated, | 99 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_ClientAuthenticated, |
100 std::string /* jid */) | 100 std::string /* jid */) |
101 | 101 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 std::string /* serialized_event */ ) | 217 std::string /* serialized_event */ ) |
218 | 218 |
219 // Carries a mouse event from the client to the desktop session agent. | 219 // Carries a mouse event from the client to the desktop session agent. |
220 // |serialized_event| is a serialized protocol::MouseEvent. | 220 // |serialized_event| is a serialized protocol::MouseEvent. |
221 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, | 221 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, |
222 std::string /* serialized_event */ ) | 222 std::string /* serialized_event */ ) |
223 | 223 |
224 // Changes the screen resolution in the desktop session. | 224 // Changes the screen resolution in the desktop session. |
225 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, | 225 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, |
226 remoting::ScreenResolution /* resolution */) | 226 remoting::ScreenResolution /* resolution */) |
OLD | NEW |