OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_REMOTE_INPUT_FILTER_H_ | 5 #ifndef REMOTING_HOST_REMOTE_INPUT_FILTER_H_ |
6 #define REMOTING_HOST_REMOTE_INPUT_FILTER_H_ | 6 #define REMOTING_HOST_REMOTE_INPUT_FILTER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
13 #include "remoting/protocol/input_event_tracker.h" | 13 #include "remoting/protocol/input_event_tracker.h" |
14 #include "remoting/protocol/input_stub.h" | 14 #include "remoting/protocol/input_stub.h" |
15 | 15 |
16 namespace remoting { | 16 namespace remoting { |
17 | 17 |
18 // Filtering InputStub that filters remotely-injected input if it has been | 18 // Filtering InputStub that filters remotely-injected input if it has been |
19 // notified of local input recently. | 19 // notified of local input recently. |
20 class RemoteInputFilter : public protocol::InputStub { | 20 class RemoteInputFilter : public protocol::InputStub { |
21 public: | 21 public: |
(...skipping 30 matching lines...) Expand all Loading... |
52 | 52 |
53 // If |true| than the filter assumes that injecting input causes an echo. | 53 // If |true| than the filter assumes that injecting input causes an echo. |
54 bool expect_local_echo_; | 54 bool expect_local_echo_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(RemoteInputFilter); | 56 DISALLOW_COPY_AND_ASSIGN(RemoteInputFilter); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace remoting | 59 } // namespace remoting |
60 | 60 |
61 #endif // REMOTING_HOST_REMOTE_INPUT_FILTER_H_ | 61 #endif // REMOTING_HOST_REMOTE_INPUT_FILTER_H_ |
OLD | NEW |