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

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

Issue 8536002: Cleanup: Remove unneeded forward declarations from remoting. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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') | remoting/protocol/jingle_datagram_connector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Interface for a device that receives input events. 5 // Interface for a device that receives input events.
6 // This interface handles event messages defined in event.proto. 6 // This interface handles event messages defined in event.proto.
7 7
8 #ifndef REMOTING_PROTOCOL_INPUT_STUB_H_ 8 #ifndef REMOTING_PROTOCOL_INPUT_STUB_H_
9 #define REMOTING_PROTOCOL_INPUT_STUB_H_ 9 #define REMOTING_PROTOCOL_INPUT_STUB_H_
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 class Task;
14
15 namespace remoting { 13 namespace remoting {
16 namespace protocol { 14 namespace protocol {
17 15
18 class KeyEvent; 16 class KeyEvent;
19 class MouseEvent; 17 class MouseEvent;
20 18
21 class InputStub { 19 class InputStub {
22 public: 20 public:
23 InputStub() {}; 21 InputStub() {}
24 virtual ~InputStub() {}; 22 virtual ~InputStub() {}
25 23
26 virtual void InjectKeyEvent(const KeyEvent& event) = 0; 24 virtual void InjectKeyEvent(const KeyEvent& event) = 0;
27 virtual void InjectMouseEvent(const MouseEvent& event) = 0; 25 virtual void InjectMouseEvent(const MouseEvent& event) = 0;
28 26
29 private: 27 private:
30 DISALLOW_COPY_AND_ASSIGN(InputStub); 28 DISALLOW_COPY_AND_ASSIGN(InputStub);
31 }; 29 };
32 30
33 } // namespace protocol 31 } // namespace protocol
34 } // namespace remoting 32 } // namespace remoting
35 33
36 #endif // REMOTING_PROTOCOL_INPUT_STUB_H_ 34 #endif // REMOTING_PROTOCOL_INPUT_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_stub.h ('k') | remoting/protocol/jingle_datagram_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698