| 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 "media/video/capture/screen/mouse_cursor_shape.h" | 9 #include "media/video/capture/screen/mouse_cursor_shape.h" | 
| 10 #include "third_party/skia/include/core/SkPoint.h" | 10 #include "third_party/skia/include/core/SkPoint.h" | 
| (...skipping 22 matching lines...) Expand all  Loading... | 
| 33 // Delivers the host configuration (and updates) to the network process. | 33 // Delivers the host configuration (and updates) to the network process. | 
| 34 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string) | 34 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string) | 
| 35 | 35 | 
| 36 // Notifies the network process that the terminal |terminal_id| has been | 36 // Notifies the network process that the terminal |terminal_id| has been | 
| 37 // disconnected from the desktop session. | 37 // disconnected from the desktop session. | 
| 38 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, | 38 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, | 
| 39                      int /* terminal_id */) | 39                      int /* terminal_id */) | 
| 40 | 40 | 
| 41 // Notifies the network process that |terminal_id| is now attached to | 41 // Notifies the network process that |terminal_id| is now attached to | 
| 42 // a desktop integration process. |desktop_process| is the handle of the desktop | 42 // a desktop integration process. |desktop_process| is the handle of the desktop | 
| 43 // process |desktop_pipe| is the client end of the desktop-to-network pipe | 43 // process. |desktop_pipe| is the client end of the desktop-to-network pipe | 
| 44 // opened. | 44 // opened. | 
| 45 // | 45 // | 
| 46 // Windows only: |desktop_pipe| has to be duplicated from the desktop process | 46 // Windows only: |desktop_pipe| has to be duplicated from the desktop process | 
| 47 // by the receiver of the message. |desktop_process| is already duplicated by | 47 // by the receiver of the message. |desktop_process| is already duplicated by | 
| 48 // the sender. | 48 // the sender. | 
| 49 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, | 49 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, | 
| 50                      int /* terminal_id */, | 50                      int /* terminal_id */, | 
| 51                      IPC::PlatformFileForTransit /* desktop_process */, | 51                      base::ProcessHandle /* desktop_process */, | 
| 52                      IPC::PlatformFileForTransit /* desktop_pipe */) | 52                      IPC::PlatformFileForTransit /* desktop_pipe */) | 
| 53 | 53 | 
| 54 //----------------------------------------------------------------------------- | 54 //----------------------------------------------------------------------------- | 
| 55 // Chromoting messages sent from the network to the daemon process. | 55 // Chromoting messages sent from the network to the daemon process. | 
| 56 | 56 | 
| 57 // Asks the daemon to send Secure Attention Sequence (SAS) to the current | 57 // Asks the daemon to send Secure Attention Sequence (SAS) to the current | 
| 58 // console session. | 58 // console session. | 
| 59 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_SendSasToConsole) | 59 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_SendSasToConsole) | 
| 60 | 60 | 
| 61 // Connects the terminal |terminal_id| (i.e. the remote client) to a desktop | 61 // Connects the terminal |terminal_id| (i.e. the remote client) to a desktop | 
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 205 | 205 | 
| 206 // Carries a keyboard event from the client to the desktop session agent. | 206 // Carries a keyboard event from the client to the desktop session agent. | 
| 207 // |serialized_event| is a serialized protocol::KeyEvent. | 207 // |serialized_event| is a serialized protocol::KeyEvent. | 
| 208 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, | 208 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, | 
| 209                      std::string /* serialized_event */ ) | 209                      std::string /* serialized_event */ ) | 
| 210 | 210 | 
| 211 // Carries a mouse event from the client to the desktop session agent. | 211 // Carries a mouse event from the client to the desktop session agent. | 
| 212 // |serialized_event| is a serialized protocol::MouseEvent. | 212 // |serialized_event| is a serialized protocol::MouseEvent. | 
| 213 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, | 213 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, | 
| 214                      std::string /* serialized_event */ ) | 214                      std::string /* serialized_event */ ) | 
| OLD | NEW | 
|---|