diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 19:53:35 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-16 19:53:35 +0000 |
commit | 6fd3d6a1648a754d8023924074612d55c187b4cf (patch) | |
tree | 102ac605e52b8cf1a4e423b5403a0302a5ee9f76 /remoting/host/event_executor.h | |
parent | 3e4155c723ab73c8f754a82d81f0eb247c83536f (diff) | |
download | chromium_src-6fd3d6a1648a754d8023924074612d55c187b4cf.zip chromium_src-6fd3d6a1648a754d8023924074612d55c187b4cf.tar.gz chromium_src-6fd3d6a1648a754d8023924074612d55c187b4cf.tar.bz2 |
Implement input stub in the host side for chromoting
Implement InputStub for the host.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/4726003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66314 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/event_executor.h')
-rw-r--r-- | remoting/host/event_executor.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/remoting/host/event_executor.h b/remoting/host/event_executor.h deleted file mode 100644 index 3f87ea7..0000000 --- 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_ |