diff options
Diffstat (limited to 'remoting/protocol/host_event_message_handler.h')
-rw-r--r-- | remoting/protocol/host_event_message_handler.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/remoting/protocol/host_event_message_handler.h b/remoting/protocol/host_event_message_handler.h deleted file mode 100644 index 0d01357..0000000 --- a/remoting/protocol/host_event_message_handler.h +++ /dev/null @@ -1,30 +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_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_ -#define REMOTING_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_ - -#include "base/basictypes.h" -#include "remoting/proto/event.pb.h" - -class Task; - -namespace remoting { - -// The interface for handling event messages sent to the host. -// For all methods of this interface. |task| needs to be called when -// receiver is done processing the event. -class HostEventMessageHandler { - public: - virtual ~HostEventMessageHandler() {} - - virtual void OnKeyEvent(int32 timestamp, - const KeyEvent& event, Task* task) = 0; - virtual void OnMouseEvent(int32 timestamp, const MouseEvent& event, - Task* task) = 0; -}; - -} // namespace remoting - -#endif // REMOTING_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_ |