diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 22:42:38 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 22:42:38 +0000 |
commit | c78669c954f21f73734a1a484943d19525a58a5b (patch) | |
tree | 5a1ddd659dd13d1296692694d78e8b03fd9939ab /remoting/host/simple_host_process.cc | |
parent | 244d7c5866e4c7406251a499272abd76204fa005 (diff) | |
download | chromium_src-c78669c954f21f73734a1a484943d19525a58a5b.zip chromium_src-c78669c954f21f73734a1a484943d19525a58a5b.tar.gz chromium_src-c78669c954f21f73734a1a484943d19525a58a5b.tar.bz2 |
Block remote mouse inputs for a short time when local input is received.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88878
Review URL: http://codereview.chromium.org/7134048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88915 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, |