summaryrefslogtreecommitdiffstats
path: root/remoting/host/chromoting_host.cc
diff options
context:
space:
mode:
authoralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 18:34:40 +0000
committeralexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 18:34:40 +0000
commitb167a7bc288a14b10f95a7ccb3fcbb2937f35d1c (patch)
tree7460281b5f45799c12e93e7594312a382124710e /remoting/host/chromoting_host.cc
parent89c42ab7cf12cbc07af1fc0e0921527e3e8b323c (diff)
downloadchromium_src-b167a7bc288a14b10f95a7ccb3fcbb2937f35d1c.zip
chromium_src-b167a7bc288a14b10f95a7ccb3fcbb2937f35d1c.tar.gz
chromium_src-b167a7bc288a14b10f95a7ccb3fcbb2937f35d1c.tar.bz2
DesktopEnvironment is now responsible for creation of the local input monitor.
LocalInputMonitor instances use the ClientSessionControl interface to pass notification about local mouse movements and to disconnect the client session when the disconnect shortcut (Ctrl+Alt+Esc) is pressed. This CL also completely removes the MouseMoveObserver interface (along with its implementation in ChromotingHost) since it is not used any more. BUG=104544 Review URL: https://chromiumcodereview.appspot.com/12594009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/chromoting_host.cc')
-rw-r--r--remoting/host/chromoting_host.cc14
1 files changed, 0 insertions, 14 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
index 0a465c4..447be4d 100644
--- a/remoting/host/chromoting_host.cc
+++ b/remoting/host/chromoting_host.cc
@@ -329,20 +329,6 @@ void ChromotingHost::set_protocol_config(
protocol_config_ = config.Pass();
}
-void ChromotingHost::OnLocalMouseMoved(const SkIPoint& new_pos) {
- if (!network_task_runner_->BelongsToCurrentThread()) {
- network_task_runner_->PostTask(
- FROM_HERE, base::Bind(&ChromotingHost::OnLocalMouseMoved,
- this, new_pos));
- return;
- }
-
- ClientList::iterator client;
- for (client = clients_.begin(); client != clients_.end(); ++client) {
- (*client)->OnLocalMouseMoved(new_pos);
- }
-}
-
void ChromotingHost::PauseSession(bool pause) {
if (!network_task_runner_->BelongsToCurrentThread()) {
network_task_runner_->PostTask(