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_CLIENT_SESSION_H_ | 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_ |
6 #define REMOTING_HOST_CLIENT_SESSION_H_ | 6 #define REMOTING_HOST_CLIENT_SESSION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
175 | 175 |
176 // Filter used as the final element in the input pipeline. | 176 // Filter used as the final element in the input pipeline. |
177 protocol::InputFilter host_input_filter_; | 177 protocol::InputFilter host_input_filter_; |
178 | 178 |
179 // Tracker used to release pressed keys and buttons when disconnecting. | 179 // Tracker used to release pressed keys and buttons when disconnecting. |
180 protocol::InputEventTracker input_tracker_; | 180 protocol::InputEventTracker input_tracker_; |
181 | 181 |
182 // Filter used to disable remote inputs during local input activity. | 182 // Filter used to disable remote inputs during local input activity. |
183 RemoteInputFilter remote_input_filter_; | 183 RemoteInputFilter remote_input_filter_; |
184 | 184 |
185 // Filter used to transform the input co-ordinates of mouse events based on | |
186 // the host display rotation settings. This must be applied before the | |
187 // |remote_input_filter| so that the local mouse movements matches the | |
Wez
2014/11/26 02:28:34
nit: "... the coordinate system of injected events
kelvinp
2014/12/02 00:12:26
Done.
| |
188 // injected movements. | |
189 scoped_ptr<protocol::InputFilter> display_rotation_filter_; | |
190 | |
185 // Filter used to clamp mouse events to the current display dimensions. | 191 // Filter used to clamp mouse events to the current display dimensions. |
186 MouseClampingFilter mouse_clamping_filter_; | 192 MouseClampingFilter mouse_clamping_filter_; |
187 | 193 |
188 // Filter to used to stop clipboard items sent from the client being echoed | 194 // Filter to used to stop clipboard items sent from the client being echoed |
189 // back to it. It is the final element in the clipboard (client -> host) | 195 // back to it. It is the final element in the clipboard (client -> host) |
190 // pipeline. | 196 // pipeline. |
191 protocol::ClipboardEchoFilter clipboard_echo_filter_; | 197 protocol::ClipboardEchoFilter clipboard_echo_filter_; |
192 | 198 |
193 // Filters used to manage enabling & disabling of input & clipboard. | 199 // Filters used to manage enabling & disabling of input & clipboard. |
194 protocol::InputFilter disable_input_filter_; | 200 protocol::InputFilter disable_input_filter_; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
256 // Used to disable callbacks to |this| once DisconnectSession() has been | 262 // Used to disable callbacks to |this| once DisconnectSession() has been |
257 // called. | 263 // called. |
258 base::WeakPtrFactory<ClientSessionControl> weak_factory_; | 264 base::WeakPtrFactory<ClientSessionControl> weak_factory_; |
259 | 265 |
260 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 266 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
261 }; | 267 }; |
262 | 268 |
263 } // namespace remoting | 269 } // namespace remoting |
264 | 270 |
265 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 271 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
OLD | NEW |