| 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_duplicate_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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 139 |
| 139 // Filter used to clamp mouse events to the current display dimensions. | 140 // Filter used to clamp mouse events to the current display dimensions. |
| 140 protocol::MouseInputFilter mouse_input_filter_; | 141 protocol::MouseInputFilter mouse_input_filter_; |
| 141 | 142 |
| 142 // Filter used to manage enabling & disabling of client input events. | 143 // Filter used to manage enabling & disabling of client input events. |
| 143 protocol::InputFilter disable_input_filter_; | 144 protocol::InputFilter disable_input_filter_; |
| 144 | 145 |
| 145 // Filter used to disable inputs when we're not authenticated. | 146 // Filter used to disable inputs when we're not authenticated. |
| 146 protocol::InputFilter auth_input_filter_; | 147 protocol::InputFilter auth_input_filter_; |
| 147 | 148 |
| 149 // Filter to used to stop duplicate events being sent to the client. |
| 150 protocol::ClipboardDuplicateFilter clipboard_duplicate_filter_; |
| 151 |
| 148 // Capturer, used to determine current screen size for ensuring injected | 152 // Capturer, used to determine current screen size for ensuring injected |
| 149 // mouse events fall within the screen area. | 153 // mouse events fall within the screen area. |
| 150 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen | 154 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen |
| 151 // area, out of this class (crbug.com/96508). | 155 // area, out of this class (crbug.com/96508). |
| 152 Capturer* capturer_; | 156 Capturer* capturer_; |
| 153 | 157 |
| 154 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 158 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
| 155 }; | 159 }; |
| 156 | 160 |
| 157 } // namespace remoting | 161 } // namespace remoting |
| 158 | 162 |
| 159 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 163 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
| OLD | NEW |