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

Side by Side Diff: remoting/protocol/input_stub.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
« no previous file with comments | « remoting/protocol/host_stub.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Interface for a device that receives input events.
6 // This interface handles event messages defined in event.proto.
7
8 #ifndef REMOTING_PROTOCOL_INPUT_STUB_H_
9 #define REMOTING_PROTOCOL_INPUT_STUB_H_
10
11 #include "base/basictypes.h"
12
13 class Task;
14
15 namespace remoting {
16
17 class KeyEvent;
18 class MouseEvent;
19
20 namespace protocol {
21
22 class InputStub {
23 public:
24 InputStub() {}
25 virtual ~InputStub() {}
26
27 virtual void InjectKeyEvent(const KeyEvent& event, Task* done) = 0;
28 virtual void InjectMouseEvent(const MouseEvent& event, Task* done) = 0;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(InputStub);
32 };
33
34 } // namespace protocol
35 } // namespace remoting
36
37 #endif // REMOTING_PROTOCOL_INPUT_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698