diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 20:08:22 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 20:08:22 +0000 |
commit | faa876c586096d73af30506e14b39cf24e78f05f (patch) | |
tree | 15fc86058226c7589c6a767a2104a3f26ad0195c /remoting/host/simple_host_process.cc | |
parent | 6bfae22b20d5750a722bfe87332a17c53641104c (diff) | |
download | chromium_src-faa876c586096d73af30506e14b39cf24e78f05f.zip chromium_src-faa876c586096d73af30506e14b39cf24e78f05f.tar.gz chromium_src-faa876c586096d73af30506e14b39cf24e78f05f.tar.bz2 |
Block remote mouse inputs for a short time when local input is received.
BUG=
TEST=
Review URL: http://codereview.chromium.org/7134048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/simple_host_process.cc')
-rw-r--r-- | remoting/host/simple_host_process.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/host/simple_host_process.cc b/remoting/host/simple_host_process.cc index 368ea40..0727461 100644 --- a/remoting/host/simple_host_process.cc +++ b/remoting/host/simple_host_process.cc @@ -42,6 +42,7 @@ #include "remoting/host/disconnect_window.h" #include "remoting/host/event_executor.h" #include "remoting/host/heartbeat_sender.h" +#include "remoting/host/local_input_monitor.h" #include "remoting/host/json_host_config.h" #include "remoting/host/register_support_host_request.h" #include "remoting/host/self_access_verifier.h" @@ -174,10 +175,12 @@ class SimpleHost { remoting::Curtain* curtain = remoting::Curtain::Create(); remoting::DisconnectWindow* disconnect_window = remoting::DisconnectWindow::Create(); + remoting::LocalInputMonitor* local_input_monitor = + remoting::LocalInputMonitor::Create(); host = ChromotingHost::Create( &context, config, new DesktopEnvironment(capturer, event_executor, curtain, - disconnect_window), + disconnect_window, local_input_monitor), access_verifier.release()); } else { host = ChromotingHost::Create(&context, config, |