Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: remoting/host/client_session.h

Issue 756643006: Remote assistance on Chrome OS Part IX - Input injection on Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Ozone_input_injection
Patch Set: Add UsbCode to DomCode API Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698