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

Unified Diff: remoting/host/client_session.h

Issue 10255007: Clamp events before they are sent to EventExecutors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo. Created 8 years, 8 months 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
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/client_session.h
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index a4f2367d90da0877e325175718ec0e0176ca6b0e..de307f1b80d867e7e3c90114cfaf4bdd0d0a9506 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -17,6 +17,7 @@
#include "remoting/protocol/input_event_tracker.h"
#include "remoting/protocol/input_filter.h"
#include "remoting/protocol/input_stub.h"
+#include "remoting/protocol/mouse_input_filter.h"
#include "third_party/skia/include/core/SkPoint.h"
namespace remoting {
@@ -123,7 +124,8 @@ class ClientSession : public protocol::HostEventStub,
std::string client_jid_;
- // The host event stub to which this object delegates.
+ // The host event stub to which this object delegates. This is the final
+ // element in the input pipeline, whose components appear in order below.
protocol::HostEventStub* host_event_stub_;
// Tracker used to release pressed keys and buttons when disconnecting.
@@ -132,6 +134,9 @@ class ClientSession : public protocol::HostEventStub,
// Filter used to disable remote inputs during local input activity.
RemoteInputFilter remote_input_filter_;
+ // Filter used to clamp mouse events to the current display dimensions.
+ protocol::MouseInputFilter mouse_input_filter_;
+
// Filter used to manage enabling & disabling of client input events.
protocol::InputFilter disable_input_filter_;
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698