OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef REMOTING_HOST_EVENT_EXECUTOR_H_ | 5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_H_ |
6 #define REMOTING_HOST_EVENT_EXECUTOR_H_ | 6 #define REMOTING_HOST_EVENT_EXECUTOR_H_ |
7 | 7 |
| 8 #include "remoting/protocol/input_stub.h" |
| 9 |
8 class MessageLoopForUI; | 10 class MessageLoopForUI; |
9 | 11 |
10 namespace remoting { | 12 namespace remoting { |
11 | 13 |
12 class Capturer; | 14 class Capturer; |
13 | 15 |
14 namespace protocol { | 16 class EventExecutor : public protocol::InputStub { |
15 class InputStub; | 17 public: |
16 } // namespace protocol | 18 // Creates default event executor for the current platform. |
17 | 19 static EventExecutor* Create(MessageLoopForUI* message_loop, |
18 // Creates default event executor for the current platform. | 20 Capturer* capturer); |
19 protocol::InputStub* CreateEventExecutor(MessageLoopForUI* message_loop, | 21 }; |
20 Capturer* capturer); | |
21 | 22 |
22 } // namespace remoting | 23 } // namespace remoting |
23 | 24 |
24 #endif // REMOTING_HOST_EVENT_EXECUTOR_H_ | 25 #endif // REMOTING_HOST_EVENT_EXECUTOR_H_ |
OLD | NEW |