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

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

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ipc/ipc_platform_file.h" 8 #include "ipc/ipc_platform_file.h"
9 #include "media/video/capture/screen/mouse_cursor_shape.h"
10 #include "net/base/ip_endpoint.h" 9 #include "net/base/ip_endpoint.h"
11 #include "remoting/host/chromoting_param_traits.h" 10 #include "remoting/host/chromoting_param_traits.h"
12 #include "remoting/host/screen_resolution.h" 11 #include "remoting/host/screen_resolution.h"
13 #include "remoting/protocol/transport.h" 12 #include "remoting/protocol/transport.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
14 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_shape.h"
15 15
16 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_ 16 #endif // REMOTING_HOST_CHROMOTING_MESSAGES_H_
17 17
18 // Multiply-included message file, no traditional include guard. 18 // Multiply-included message file, no traditional include guard.
19 #include "ipc/ipc_message_macros.h" 19 #include "ipc/ipc_message_macros.h"
20 20
21 #define IPC_MESSAGE_START ChromotingMsgStart 21 #define IPC_MESSAGE_START ChromotingMsgStart
22 22
23 //----------------------------------------------------------------------------- 23 //-----------------------------------------------------------------------------
24 // Chromoting messages sent from the daemon. 24 // Chromoting messages sent from the daemon.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Notifies the network process that a shared buffer has been created. 131 // Notifies the network process that a shared buffer has been created.
132 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, 132 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer,
133 int /* id */, 133 int /* id */,
134 IPC::PlatformFileForTransit /* handle */, 134 IPC::PlatformFileForTransit /* handle */,
135 uint32 /* size */) 135 uint32 /* size */)
136 136
137 // Request the network process to stop using a shared buffer. 137 // Request the network process to stop using a shared buffer.
138 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer, 138 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_ReleaseSharedBuffer,
139 int /* id */) 139 int /* id */)
140 140
141 IPC_STRUCT_TRAITS_BEGIN(media::MouseCursorShape) 141 IPC_STRUCT_TRAITS_BEGIN(webrtc::MouseCursorShape)
142 IPC_STRUCT_TRAITS_MEMBER(size) 142 IPC_STRUCT_TRAITS_MEMBER(size)
143 IPC_STRUCT_TRAITS_MEMBER(hotspot) 143 IPC_STRUCT_TRAITS_MEMBER(hotspot)
144 IPC_STRUCT_TRAITS_MEMBER(data) 144 IPC_STRUCT_TRAITS_MEMBER(data)
145 IPC_STRUCT_TRAITS_END() 145 IPC_STRUCT_TRAITS_END()
146 146
147 // Serialized webrtc::DesktopFrame. 147 // Serialized webrtc::DesktopFrame.
148 IPC_STRUCT_BEGIN(SerializedDesktopFrame) 148 IPC_STRUCT_BEGIN(SerializedDesktopFrame)
149 // ID of the shared memory buffer containing the pixels. 149 // ID of the shared memory buffer containing the pixels.
150 IPC_STRUCT_MEMBER(int, shared_buffer_id) 150 IPC_STRUCT_MEMBER(int, shared_buffer_id)
151 151
(...skipping 15 matching lines...) Expand all
167 // DPI for this frame. 167 // DPI for this frame.
168 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi) 168 IPC_STRUCT_MEMBER(webrtc::DesktopVector, dpi)
169 IPC_STRUCT_END() 169 IPC_STRUCT_END()
170 170
171 // Notifies the network process that a shared buffer has been created. 171 // Notifies the network process that a shared buffer has been created.
172 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted, 172 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CaptureCompleted,
173 SerializedDesktopFrame /* frame */ ) 173 SerializedDesktopFrame /* frame */ )
174 174
175 // Carries a cursor share update from the desktop session agent to the client. 175 // Carries a cursor share update from the desktop session agent to the client.
176 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CursorShapeChanged, 176 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_CursorShapeChanged,
177 media::MouseCursorShape /* cursor_shape */ ) 177 webrtc::MouseCursorShape /* cursor_shape */ )
178 178
179 // Carries a clipboard event from the desktop session agent to the client. 179 // Carries a clipboard event from the desktop session agent to the client.
180 // |serialized_event| is a serialized protocol::ClipboardEvent. 180 // |serialized_event| is a serialized protocol::ClipboardEvent.
181 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_InjectClipboardEvent, 181 IPC_MESSAGE_CONTROL1(ChromotingDesktopNetworkMsg_InjectClipboardEvent,
182 std::string /* serialized_event */ ) 182 std::string /* serialized_event */ )
183 183
184 // Requests the network process to terminate the client session. 184 // Requests the network process to terminate the client session.
185 IPC_MESSAGE_CONTROL0(ChromotingDesktopNetworkMsg_DisconnectSession) 185 IPC_MESSAGE_CONTROL0(ChromotingDesktopNetworkMsg_DisconnectSession)
186 186
187 // Carries an audio packet from the desktop session agent to the client. 187 // Carries an audio packet from the desktop session agent to the client.
(...skipping 24 matching lines...) Expand all
212 std::string /* serialized_event */ ) 212 std::string /* serialized_event */ )
213 213
214 // Carries a mouse event from the client to the desktop session agent. 214 // Carries a mouse event from the client to the desktop session agent.
215 // |serialized_event| is a serialized protocol::MouseEvent. 215 // |serialized_event| is a serialized protocol::MouseEvent.
216 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, 216 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent,
217 std::string /* serialized_event */ ) 217 std::string /* serialized_event */ )
218 218
219 // Changes the screen resolution in the desktop session. 219 // Changes the screen resolution in the desktop session.
220 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, 220 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution,
221 remoting::ScreenResolution /* resolution */) 221 remoting::ScreenResolution /* resolution */)
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host_unittest.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698