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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index 38f97537bcdf9cfab295d77893bef6b9a09105b9..b6b598ec2365918c2aaf23566edf8b68b615c883 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -182,6 +182,12 @@ class ClientSession
// Filter used to disable remote inputs during local input activity.
RemoteInputFilter remote_input_filter_;
+ // Filter used to transform the input co-ordinates of mouse events based on
+ // the host display rotation settings. This must be applied before the
+ // |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.
+ // injected movements.
+ scoped_ptr<protocol::InputFilter> display_rotation_filter_;
+
// Filter used to clamp mouse events to the current display dimensions.
MouseClampingFilter mouse_clamping_filter_;

Powered by Google App Engine
This is Rietveld 408576698