| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "remoting/host/ipc_input_injector.h" | 5 #include "remoting/host/ipc_input_injector.h" |
| 6 | 6 |
| 7 #include "remoting/host/desktop_session_proxy.h" | 7 #include "remoting/host/desktop_session_proxy.h" |
| 8 | 8 |
| 9 namespace remoting { | 9 namespace remoting { |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 } | 26 } |
| 27 | 27 |
| 28 void IpcInputInjector::InjectTextEvent(const protocol::TextEvent& event) { | 28 void IpcInputInjector::InjectTextEvent(const protocol::TextEvent& event) { |
| 29 desktop_session_proxy_->InjectTextEvent(event); | 29 desktop_session_proxy_->InjectTextEvent(event); |
| 30 } | 30 } |
| 31 | 31 |
| 32 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { | 32 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) { |
| 33 desktop_session_proxy_->InjectMouseEvent(event); | 33 desktop_session_proxy_->InjectMouseEvent(event); |
| 34 } | 34 } |
| 35 | 35 |
| 36 void IpcInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) { |
| 37 NOTIMPLEMENTED(); |
| 38 } |
| 39 |
| 36 void IpcInputInjector::Start( | 40 void IpcInputInjector::Start( |
| 37 scoped_ptr<protocol::ClipboardStub> client_clipboard) { | 41 scoped_ptr<protocol::ClipboardStub> client_clipboard) { |
| 38 desktop_session_proxy_->StartInputInjector(client_clipboard.Pass()); | 42 desktop_session_proxy_->StartInputInjector(client_clipboard.Pass()); |
| 39 } | 43 } |
| 40 | 44 |
| 41 } // namespace remoting | 45 } // namespace remoting |
| OLD | NEW |