| 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_INPUT_INJECTOR_H_ | 5 #ifndef REMOTING_HOST_INPUT_INJECTOR_H_ |
| 6 #define REMOTING_HOST_INPUT_INJECTOR_H_ | 6 #define REMOTING_HOST_INPUT_INJECTOR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "remoting/protocol/clipboard_stub.h" | 11 #include "remoting/protocol/clipboard_stub.h" |
| 12 #include "remoting/protocol/input_event_timestamps.h" |
| 12 #include "remoting/protocol/input_stub.h" | 13 #include "remoting/protocol/input_stub.h" |
| 13 | 14 |
| 14 namespace base { | 15 namespace base { |
| 15 class SingleThreadTaskRunner; | 16 class SingleThreadTaskRunner; |
| 16 } // namespace base | 17 } // namespace base |
| 17 | 18 |
| 18 namespace remoting { | 19 namespace remoting { |
| 19 | 20 |
| 20 // TODO(sergeyu): Move ClipboardStub implementation to Clipboard. | 21 // TODO(sergeyu): Move ClipboardStub implementation to Clipboard. |
| 21 class InputInjector : public protocol::ClipboardStub, | 22 class InputInjector : public protocol::ClipboardStub, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 34 static bool SupportsTouchEvents(); | 35 static bool SupportsTouchEvents(); |
| 35 | 36 |
| 36 // Initialises any objects needed to execute events. | 37 // Initialises any objects needed to execute events. |
| 37 virtual void Start( | 38 virtual void Start( |
| 38 std::unique_ptr<protocol::ClipboardStub> client_clipboard) = 0; | 39 std::unique_ptr<protocol::ClipboardStub> client_clipboard) = 0; |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace remoting | 42 } // namespace remoting |
| 42 | 43 |
| 43 #endif // REMOTING_HOST_INPUT_INJECTOR_H_ | 44 #endif // REMOTING_HOST_INPUT_INJECTOR_H_ |
| OLD | NEW |