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

Side by Side Diff: remoting/host/ipc_event_executor.h

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_desktop_environment_unittest.cc ('k') | remoting/host/ipc_event_executor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
6 #define REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "remoting/host/event_executor.h"
10 #include "remoting/proto/event.pb.h"
11
12 namespace remoting {
13
14 class DesktopSessionProxy;
15
16 // Routes EventExecutor calls though the IPC channel to the desktop session
17 // agent running in the desktop integration process.
18 class IpcEventExecutor : public EventExecutor {
19 public:
20 explicit IpcEventExecutor(
21 scoped_refptr<DesktopSessionProxy> desktop_session_proxy);
22 virtual ~IpcEventExecutor();
23
24 // ClipboardStub interface.
25 virtual void InjectClipboardEvent(
26 const protocol::ClipboardEvent& event) OVERRIDE;
27
28 // InputStub interface.
29 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
30 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
31
32 // EventExecutor interface.
33 virtual void Start(
34 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
35
36 private:
37 // Wraps the IPC channel to the desktop process.
38 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
39
40 DISALLOW_COPY_AND_ASSIGN(IpcEventExecutor);
41 };
42
43 } // namespace remoting
44
45 #endif // REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
OLDNEW
« no previous file with comments | « remoting/host/ipc_desktop_environment_unittest.cc ('k') | remoting/host/ipc_event_executor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698