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

Unified Diff: remoting/host/ipc_input_injector.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/ipc_event_executor.cc ('k') | remoting/host/ipc_input_injector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_input_injector.h
diff --git a/remoting/host/ipc_event_executor.h b/remoting/host/ipc_input_injector.h
similarity index 69%
rename from remoting/host/ipc_event_executor.h
rename to remoting/host/ipc_input_injector.h
index 184dee554504acaa22de3ff8b3ed2fd6ffda0e56..1bfdd3cf6168ca779ed6ef4e5cce1644a4a1f8f4 100644
--- a/remoting/host/ipc_event_executor.h
+++ b/remoting/host/ipc_input_injector.h
@@ -2,24 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
-#define REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
+#ifndef REMOTING_HOST_IPC_INPUT_INJECTOR_H_
+#define REMOTING_HOST_IPC_INPUT_INJECTOR_H_
#include "base/memory/ref_counted.h"
-#include "remoting/host/event_executor.h"
+#include "remoting/host/input_injector.h"
#include "remoting/proto/event.pb.h"
namespace remoting {
class DesktopSessionProxy;
-// Routes EventExecutor calls though the IPC channel to the desktop session
+// Routes InputInjector calls though the IPC channel to the desktop session
// agent running in the desktop integration process.
-class IpcEventExecutor : public EventExecutor {
+class IpcInputInjector : public InputInjector {
public:
- explicit IpcEventExecutor(
+ explicit IpcInputInjector(
scoped_refptr<DesktopSessionProxy> desktop_session_proxy);
- virtual ~IpcEventExecutor();
+ virtual ~IpcInputInjector();
// ClipboardStub interface.
virtual void InjectClipboardEvent(
@@ -29,7 +29,7 @@ class IpcEventExecutor : public EventExecutor {
virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
- // EventExecutor interface.
+ // InputInjector interface.
virtual void Start(
scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
@@ -37,9 +37,9 @@ class IpcEventExecutor : public EventExecutor {
// Wraps the IPC channel to the desktop process.
scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
- DISALLOW_COPY_AND_ASSIGN(IpcEventExecutor);
+ DISALLOW_COPY_AND_ASSIGN(IpcInputInjector);
};
} // namespace remoting
-#endif // REMOTING_HOST_IPC_EVENT_EXECUTOR_H_
+#endif // REMOTING_HOST_IPC_INPUT_INJECTOR_H_
« no previous file with comments | « remoting/host/ipc_event_executor.cc ('k') | remoting/host/ipc_input_injector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698