OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FAKE_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include "remoting/host/desktop_environment.h" | 8 #include "remoting/host/desktop_environment.h" |
9 #include "remoting/host/fake_desktop_capturer.h" | |
10 #include "remoting/host/fake_mouse_cursor_monitor.h" | 9 #include "remoting/host/fake_mouse_cursor_monitor.h" |
11 #include "remoting/host/input_injector.h" | 10 #include "remoting/host/input_injector.h" |
12 #include "remoting/host/screen_controls.h" | 11 #include "remoting/host/screen_controls.h" |
| 12 #include "remoting/protocol/fake_desktop_capturer.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 class FakeInputInjector : public InputInjector { | 16 class FakeInputInjector : public InputInjector { |
17 public: | 17 public: |
18 FakeInputInjector(); | 18 FakeInputInjector(); |
19 ~FakeInputInjector() override; | 19 ~FakeInputInjector() override; |
20 | 20 |
21 void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard) override; | 21 void Start(scoped_ptr<protocol::ClipboardStub> client_clipboard) override; |
22 void InjectKeyEvent(const protocol::KeyEvent& event) override; | 22 void InjectKeyEvent(const protocol::KeyEvent& event) override; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 private: | 86 private: |
87 FakeDesktopCapturer::FrameGenerator frame_generator_; | 87 FakeDesktopCapturer::FrameGenerator frame_generator_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); | 89 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); |
90 }; | 90 }; |
91 | 91 |
92 } // namespace remoting | 92 } // namespace remoting |
93 | 93 |
94 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ | 94 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |