Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(610)

Side by Side Diff: remoting/host/ipc_input_injector.cc

Issue 12760012: Rename EventExecutor to InputInjector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace some missed occurrences and remove unused include. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/ipc_input_injector.h ('k') | remoting/host/me2me_desktop_environment.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_event_executor.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
11 IpcEventExecutor::IpcEventExecutor( 11 IpcInputInjector::IpcInputInjector(
12 scoped_refptr<DesktopSessionProxy> desktop_session_proxy) 12 scoped_refptr<DesktopSessionProxy> desktop_session_proxy)
13 : desktop_session_proxy_(desktop_session_proxy) { 13 : desktop_session_proxy_(desktop_session_proxy) {
14 } 14 }
15 15
16 IpcEventExecutor::~IpcEventExecutor() { 16 IpcInputInjector::~IpcInputInjector() {
17 } 17 }
18 18
19 void IpcEventExecutor::InjectClipboardEvent( 19 void IpcInputInjector::InjectClipboardEvent(
20 const protocol::ClipboardEvent& event) { 20 const protocol::ClipboardEvent& event) {
21 desktop_session_proxy_->InjectClipboardEvent(event); 21 desktop_session_proxy_->InjectClipboardEvent(event);
22 } 22 }
23 23
24 void IpcEventExecutor::InjectKeyEvent(const protocol::KeyEvent& event) { 24 void IpcInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) {
25 desktop_session_proxy_->InjectKeyEvent(event); 25 desktop_session_proxy_->InjectKeyEvent(event);
26 } 26 }
27 27
28 void IpcEventExecutor::InjectMouseEvent(const protocol::MouseEvent& event) { 28 void IpcInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) {
29 desktop_session_proxy_->InjectMouseEvent(event); 29 desktop_session_proxy_->InjectMouseEvent(event);
30 } 30 }
31 31
32 void IpcEventExecutor::Start( 32 void IpcInputInjector::Start(
33 scoped_ptr<protocol::ClipboardStub> client_clipboard) { 33 scoped_ptr<protocol::ClipboardStub> client_clipboard) {
34 desktop_session_proxy_->StartEventExecutor(client_clipboard.Pass()); 34 desktop_session_proxy_->StartInputInjector(client_clipboard.Pass());
35 } 35 }
36 36
37 } // namespace remoting 37 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/ipc_input_injector.h ('k') | remoting/host/me2me_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698