summaryrefslogtreecommitdiffstats
path: root/remoting/host/client_session.h
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-13 20:18:47 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-13 20:18:47 +0000
commit3ff2be6ac4070532a7a77eac3cdb5d51aa9f675e (patch)
treec14fd5efda900c0814b730d35e0a1c3f025760f2 /remoting/host/client_session.h
parentfaa876c586096d73af30506e14b39cf24e78f05f (diff)
downloadchromium_src-3ff2be6ac4070532a7a77eac3cdb5d51aa9f675e.zip
chromium_src-3ff2be6ac4070532a7a77eac3cdb5d51aa9f675e.tar.gz
chromium_src-3ff2be6ac4070532a7a77eac3cdb5d51aa9f675e.tar.bz2
Revert 88878 - Block remote mouse inputs for a short time when local input is received.
BUG= TEST= Review URL: http://codereview.chromium.org/7134048 TBR=jamiewalch@google.com Review URL: http://codereview.chromium.org/7134099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88882 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/client_session.h')
-rw-r--r--remoting/host/client_session.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h
index e014bdc..ac124a8 100644
--- a/remoting/host/client_session.h
+++ b/remoting/host/client_session.h
@@ -5,12 +5,9 @@
#ifndef REMOTING_HOST_CLIENT_SESSION_H_
#define REMOTING_HOST_CLIENT_SESSION_H_
-#include <list>
-
#include "remoting/protocol/connection_to_client.h"
#include "remoting/protocol/host_stub.h"
#include "remoting/protocol/input_stub.h"
-#include "ui/gfx/point.h"
namespace remoting {
@@ -68,13 +65,6 @@ class ClientSession : public protocol::HostStub,
return authenticated_;
}
- // Indicate that local mouse activity has been detected. This causes remote
- // inputs to be ignored for a short time so that the local user will always
- // have the upper hand in 'pointer wars'.
- void LocalMouseMoved(const gfx::Point& new_pos);
-
- bool ShouldIgnoreRemoteInput() const;
-
private:
friend class base::RefCountedThreadSafe<ClientSession>;
virtual ~ClientSession();
@@ -93,11 +83,6 @@ class ClientSession : public protocol::HostStub,
// Whether this client is authenticated.
bool authenticated_;
- // State to control remote input blocking while the local pointer is in use.
- uint32 remote_mouse_button_state_;
- std::list<gfx::Point> recent_remote_mouse_positions_;
- base::Time latest_local_input_time_;
-
DISALLOW_COPY_AND_ASSIGN(ClientSession);
};