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

Unified Diff: remoting/host/event_executor_fake.h

Issue 10915206: [Chromoting] Refactoring DesktopEnvironment and moving screen/audio recorders to ClientSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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/event_executor.h ('k') | remoting/host/event_executor_fake.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/event_executor_fake.h
diff --git a/remoting/host/event_executor_fake.h b/remoting/host/event_executor_fake.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a7d90619519cfe10e3f6f8c42b95f0accf03352
--- /dev/null
+++ b/remoting/host/event_executor_fake.h
@@ -0,0 +1,36 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_HOST_EVENT_EXECUTOR_FAKE_H_
+#define REMOTING_HOST_EVENT_EXECUTOR_FAKE_H_
+
+#include "remoting/host/event_executor.h"
+
+namespace remoting {
+
+// A dummy implementation of |EventExecutor| that does nothing.
+class EventExecutorFake : public EventExecutor {
+ public:
+ EventExecutorFake();
+ virtual ~EventExecutorFake();
+
+ // ClipboardStub interface.
+ virtual void InjectClipboardEvent(
+ const protocol::ClipboardEvent& event) OVERRIDE;
+
+ // InputStub interface.
+ virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
+ virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
+
+ virtual void Start(
+ scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE;
+ virtual void StopAndDelete() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(EventExecutorFake);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_HOST_EVENT_EXECUTOR_FAKE_H_
« no previous file with comments | « remoting/host/event_executor.h ('k') | remoting/host/event_executor_fake.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698