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

Side by Side Diff: remoting/host/chromoting_messages.h

Issue 2529533003: Pass DesktopEnvironmentOptions form network to desktop process. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/memory/shared_memory_handle.h" 10 #include "base/memory/shared_memory_handle.h"
11 #include "ipc/ipc_channel_handle.h" 11 #include "ipc/ipc_channel_handle.h"
12 #include "ipc/ipc_platform_file.h" 12 #include "ipc/ipc_platform_file.h"
13 #include "remoting/host/chromoting_param_traits.h" 13 #include "remoting/host/chromoting_param_traits.h"
14 #include "remoting/host/desktop_environment_options.h"
14 #include "remoting/host/screen_resolution.h" 15 #include "remoting/host/screen_resolution.h"
15 #include "remoting/protocol/errors.h" 16 #include "remoting/protocol/errors.h"
16 #include "remoting/protocol/transport.h" 17 #include "remoting/protocol/transport.h"
17 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" 18 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
18 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 19 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
19 20
20 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ 21 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_
21 22
22 // Multiply-included message file, no traditional include guard. 23 // Multiply-included message file, no traditional include guard.
23 #include "ipc/ipc_message_macros.h" 24 #include "ipc/ipc_message_macros.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 std::string /* serialized_packet */ ) 199 std::string /* serialized_packet */ )
199 200
200 //----------------------------------------------------------------------------- 201 //-----------------------------------------------------------------------------
201 // Chromoting messages sent from the network to the desktop process. 202 // Chromoting messages sent from the network to the desktop process.
202 203
203 // Passes the client session data to the desktop session agent and starts it. 204 // Passes the client session data to the desktop session agent and starts it.
204 // This must be the first message received from the host. 205 // This must be the first message received from the host.
205 IPC_MESSAGE_CONTROL3(ChromotingNetworkDesktopMsg_StartSessionAgent, 206 IPC_MESSAGE_CONTROL3(ChromotingNetworkDesktopMsg_StartSessionAgent,
206 std::string /* authenticated_jid */, 207 std::string /* authenticated_jid */,
207 remoting::ScreenResolution /* resolution */, 208 remoting::ScreenResolution /* resolution */,
208 bool /* virtual_terminal */) 209 remoting::DesktopEnvironmentOptions /* options */)
209 210
210 IPC_MESSAGE_CONTROL0(ChromotingNetworkDesktopMsg_CaptureFrame) 211 IPC_MESSAGE_CONTROL0(ChromotingNetworkDesktopMsg_CaptureFrame)
211 212
212 // Carries a clipboard event from the client to the desktop session agent. 213 // Carries a clipboard event from the client to the desktop session agent.
213 // |serialized_event| is a serialized protocol::ClipboardEvent. 214 // |serialized_event| is a serialized protocol::ClipboardEvent.
214 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectClipboardEvent, 215 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectClipboardEvent,
215 std::string /* serialized_event */ ) 216 std::string /* serialized_event */ )
216 217
217 // Carries a keyboard event from the client to the desktop session agent. 218 // Carries a keyboard event from the client to the desktop session agent.
218 // |serialized_event| is a serialized protocol::KeyEvent. 219 // |serialized_event| is a serialized protocol::KeyEvent.
(...skipping 29 matching lines...) Expand all
248 std::string /* request bytes */) 249 std::string /* request bytes */)
249 250
250 //--------------------------------------------------------- 251 //---------------------------------------------------------
251 // Chromoting messages sent from the network process to the remote_security_key 252 // Chromoting messages sent from the network process to the remote_security_key
252 // process. 253 // process.
253 254
254 // The array of bytes representing a security key response from the remote 255 // The array of bytes representing a security key response from the remote
255 // client. This message is sent over the per-client IPC channel. 256 // client. This message is sent over the per-client IPC channel.
256 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, 257 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response,
257 std::string /* response bytes */) 258 std::string /* response bytes */)
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_param_traits.h » ('j') | remoting/host/chromoting_param_traits.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698