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

Unified Diff: remoting/host/event_executor.h

Issue 4726003: Implement InputStub in the host side for chromoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 10 years, 1 month 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
Index: remoting/host/event_executor.h
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h
deleted file mode 100644
index 3f87ea7dda7122cdc7a588702a61c6ec4f4e98b1..0000000000000000000000000000000000000000
--- a/remoting/host/event_executor.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2010 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_H_
-#define REMOTING_HOST_EVENT_EXECUTOR_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-
-namespace remoting {
-
-class Capturer;
-class ChromotingClientMessage;
-
-// An interface that defines the behavior of an event executor object.
-// An event executor is to perform actions on the host machine. For example
-// moving the mouse cursor, generating keyboard events and manipulating
-// clipboards.
-class EventExecutor {
- public:
- explicit EventExecutor(Capturer* capturer)
- : capturer_(capturer) {
- }
- virtual ~EventExecutor() {}
-
- // Handles input events from ClientMessageList and removes them from the
- // list.
- virtual void HandleInputEvent(ChromotingClientMessage* message) = 0;
- // TODO(hclam): Define actions for clipboards.
-
- protected:
- Capturer* capturer_;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(EventExecutor);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_HOST_EVENT_EXECUTOR_H_

Powered by Google App Engine
This is Rietveld 408576698