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" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/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 #include "third_party/skia/include/core/SkPoint.h" | 15 #include "third_party/skia/include/core/SkPoint.h" |
16 | 16 |
17 namespace remoting { | 17 namespace remoting { |
18 | 18 |
19 // Filtering InputStub that filters remotely-injected input if it has been | 19 // Filtering InputStub that filters remotely-injected input if it has been |
20 // notified of local input recently. | 20 // notified of local input recently. |
21 class RemoteInputFilter : public protocol::InputStub { | 21 class RemoteInputFilter : public protocol::InputStub { |
22 public: | 22 public: |
(...skipping 28 matching lines...) Expand all Loading... |
51 | 51 |
52 // If |true| than the filter assumes that injecting input causes an echo. | 52 // If |true| than the filter assumes that injecting input causes an echo. |
53 bool expect_local_echo_; | 53 bool expect_local_echo_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(RemoteInputFilter); | 55 DISALLOW_COPY_AND_ASSIGN(RemoteInputFilter); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace remoting | 58 } // namespace remoting |
59 | 59 |
60 #endif // REMOTING_HOST_REMOTE_INPUT_FILTER_H_ | 60 #endif // REMOTING_HOST_REMOTE_INPUT_FILTER_H_ |
OLD | NEW |