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

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

Issue 14305004: Simplify ScreenCapturer interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
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" 9 #include "media/video/capture/screen/mouse_cursor_shape.h"
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 IPC_MESSAGE_CONTROL2(ChromotingNetworkDesktopMsg_StartSessionAgent, 226 IPC_MESSAGE_CONTROL2(ChromotingNetworkDesktopMsg_StartSessionAgent,
227 std::string /* authenticated_jid */, 227 std::string /* authenticated_jid */,
228 remoting::ScreenResolution /* resolution */) 228 remoting::ScreenResolution /* resolution */)
229 229
230 // Notifies the desktop process that the shared memory buffer has been mapped to 230 // Notifies the desktop process that the shared memory buffer has been mapped to
231 // the memory of the network process and so it can be safely dropped by 231 // the memory of the network process and so it can be safely dropped by
232 // the network process at any time. 232 // the network process at any time.
233 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SharedBufferCreated, 233 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SharedBufferCreated,
234 int /* id */) 234 int /* id */)
235 235
236 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InvalidateRegion,
237 std::vector<SkIRect> /* invalid_region */ )
238
239 IPC_MESSAGE_CONTROL0(ChromotingNetworkDesktopMsg_CaptureFrame) 236 IPC_MESSAGE_CONTROL0(ChromotingNetworkDesktopMsg_CaptureFrame)
240 237
241 // Carries a clipboard event from the client to the desktop session agent. 238 // Carries a clipboard event from the client to the desktop session agent.
242 // |serialized_event| is a serialized protocol::ClipboardEvent. 239 // |serialized_event| is a serialized protocol::ClipboardEvent.
243 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectClipboardEvent, 240 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectClipboardEvent,
244 std::string /* serialized_event */ ) 241 std::string /* serialized_event */ )
245 242
246 // Carries a keyboard event from the client to the desktop session agent. 243 // Carries a keyboard event from the client to the desktop session agent.
247 // |serialized_event| is a serialized protocol::KeyEvent. 244 // |serialized_event| is a serialized protocol::KeyEvent.
248 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, 245 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent,
249 std::string /* serialized_event */ ) 246 std::string /* serialized_event */ )
250 247
251 // Carries a mouse event from the client to the desktop session agent. 248 // Carries a mouse event from the client to the desktop session agent.
252 // |serialized_event| is a serialized protocol::MouseEvent. 249 // |serialized_event| is a serialized protocol::MouseEvent.
253 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, 250 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent,
254 std::string /* serialized_event */ ) 251 std::string /* serialized_event */ )
255 252
256 // Changes the screen resolution in the desktop session. 253 // Changes the screen resolution in the desktop session.
257 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, 254 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution,
258 remoting::ScreenResolution /* resolution */) 255 remoting::ScreenResolution /* resolution */)
OLDNEW
« no previous file with comments | « media/video/capture/screen/screen_capturer_x11.cc ('k') | remoting/host/desktop_session_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698