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

Side by Side Diff: remoting/protocol/host_event_message_handler.h

Issue 4336001: Stub classes for Chromoting and use them in HostMessageDispatcher. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_
6 #define REMOTING_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_
7
8 #include "base/basictypes.h"
9 #include "remoting/proto/event.pb.h"
10
11 class Task;
12
13 namespace remoting {
14
15 // The interface for handling event messages sent to the host.
16 // For all methods of this interface. |task| needs to be called when
17 // receiver is done processing the event.
18 class HostEventMessageHandler {
19 public:
20 virtual ~HostEventMessageHandler() {}
21
22 virtual void OnKeyEvent(int32 timestamp,
23 const KeyEvent& event, Task* task) = 0;
24 virtual void OnMouseEvent(int32 timestamp, const MouseEvent& event,
25 Task* task) = 0;
26 };
27
28 } // namespace remoting
29
30 #endif // REMOTING_PROTOCOL_HOST_EVENT_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_control_message_handler.h ('k') | remoting/protocol/host_message_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698