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 "third_party/skia/include/core/SkPoint.h" | 9 #include "third_party/skia/include/core/SkPoint.h" |
10 #include "third_party/skia/include/core/SkRect.h" | 10 #include "third_party/skia/include/core/SkRect.h" |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 // Notifies the daemon that a desktop integration process has been initialized. | 85 // Notifies the daemon that a desktop integration process has been initialized. |
86 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be | 86 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be |
87 // forwarded to the desktop environment stub. | 87 // forwarded to the desktop environment stub. |
88 // | 88 // |
89 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by | 89 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by |
90 // the receiver of the message. | 90 // the receiver of the message. |
91 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, | 91 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, |
92 IPC::PlatformFileForTransit /* desktop_pipe */) | 92 IPC::PlatformFileForTransit /* desktop_pipe */) |
93 | 93 |
| 94 // Asks the daemon to inject Secure Attention Sequence (SAS) in the session |
| 95 // where the desktop process is running. |
| 96 IPC_MESSAGE_CONTROL0(ChromotingDesktopDaemonMsg_InjectSas) |
| 97 |
94 //----------------------------------------------------------------------------- | 98 //----------------------------------------------------------------------------- |
95 // Chromoting messages sent from the desktop to the network process. | 99 // Chromoting messages sent from the desktop to the network process. |
96 | 100 |
97 // Notifies the network process that a shared buffer has been created. Receipt | 101 // Notifies the network process that a shared buffer has been created. Receipt |
98 // of this message must be confirmed by replying with | 102 // of this message must be confirmed by replying with |
99 // ChromotingNetworkDesktopMsg_SharedBufferCreated message. | 103 // ChromotingNetworkDesktopMsg_SharedBufferCreated message. |
100 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, | 104 IPC_MESSAGE_CONTROL3(ChromotingDesktopNetworkMsg_CreateSharedBuffer, |
101 int /* id */, | 105 int /* id */, |
102 IPC::PlatformFileForTransit /* handle */, | 106 IPC::PlatformFileForTransit /* handle */, |
103 uint32 /* size */) | 107 uint32 /* size */) |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 189 |
186 // Carries a keyboard event from the client to the desktop session agent. | 190 // Carries a keyboard event from the client to the desktop session agent. |
187 // |serialized_event| is a serialized protocol::KeyEvent. | 191 // |serialized_event| is a serialized protocol::KeyEvent. |
188 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, | 192 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectKeyEvent, |
189 std::string /* serialized_event */ ) | 193 std::string /* serialized_event */ ) |
190 | 194 |
191 // Carries a mouse event from the client to the desktop session agent. | 195 // Carries a mouse event from the client to the desktop session agent. |
192 // |serialized_event| is a serialized protocol::MouseEvent. | 196 // |serialized_event| is a serialized protocol::MouseEvent. |
193 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, | 197 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectMouseEvent, |
194 std::string /* serialized_event */ ) | 198 std::string /* serialized_event */ ) |
OLD | NEW |