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 <list> | 8 #include <list> |
9 | 9 |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
12 #include "remoting/host/remote_input_filter.h" | 12 #include "remoting/host/remote_input_filter.h" |
| 13 #include "remoting/protocol/clipboard_echo_filter.h" |
13 #include "remoting/protocol/clipboard_stub.h" | 14 #include "remoting/protocol/clipboard_stub.h" |
14 #include "remoting/protocol/connection_to_client.h" | 15 #include "remoting/protocol/connection_to_client.h" |
15 #include "remoting/protocol/host_event_stub.h" | 16 #include "remoting/protocol/host_event_stub.h" |
16 #include "remoting/protocol/host_stub.h" | 17 #include "remoting/protocol/host_stub.h" |
17 #include "remoting/protocol/input_event_tracker.h" | 18 #include "remoting/protocol/input_event_tracker.h" |
18 #include "remoting/protocol/input_filter.h" | 19 #include "remoting/protocol/input_filter.h" |
19 #include "remoting/protocol/input_stub.h" | 20 #include "remoting/protocol/input_stub.h" |
20 #include "remoting/protocol/mouse_input_filter.h" | 21 #include "remoting/protocol/mouse_input_filter.h" |
21 #include "third_party/skia/include/core/SkPoint.h" | 22 #include "third_party/skia/include/core/SkPoint.h" |
22 | 23 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 142 |
142 // Filter used to clamp mouse events to the current display dimensions. | 143 // Filter used to clamp mouse events to the current display dimensions. |
143 protocol::MouseInputFilter mouse_input_filter_; | 144 protocol::MouseInputFilter mouse_input_filter_; |
144 | 145 |
145 // Filter used to manage enabling & disabling of client input events. | 146 // Filter used to manage enabling & disabling of client input events. |
146 protocol::InputFilter disable_input_filter_; | 147 protocol::InputFilter disable_input_filter_; |
147 | 148 |
148 // Filter used to disable inputs when we're not authenticated. | 149 // Filter used to disable inputs when we're not authenticated. |
149 protocol::InputFilter auth_input_filter_; | 150 protocol::InputFilter auth_input_filter_; |
150 | 151 |
| 152 // Filter to used to stop clipboard items sent from the client being echoed |
| 153 // back to it. |
| 154 protocol::ClipboardEchoFilter clipboard_echo_filter_; |
| 155 |
151 // Capturer, used to determine current screen size for ensuring injected | 156 // Capturer, used to determine current screen size for ensuring injected |
152 // mouse events fall within the screen area. | 157 // mouse events fall within the screen area. |
153 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen | 158 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen |
154 // area, out of this class (crbug.com/96508). | 159 // area, out of this class (crbug.com/96508). |
155 Capturer* capturer_; | 160 Capturer* capturer_; |
156 | 161 |
157 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 162 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
158 }; | 163 }; |
159 | 164 |
160 } // namespace remoting | 165 } // namespace remoting |
161 | 166 |
162 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 167 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
OLD | NEW |