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 "base/macros.h" |
8 #include "remoting/host/desktop_environment.h" | 9 #include "remoting/host/desktop_environment.h" |
9 #include "remoting/host/fake_mouse_cursor_monitor.h" | 10 #include "remoting/host/fake_mouse_cursor_monitor.h" |
10 #include "remoting/host/input_injector.h" | 11 #include "remoting/host/input_injector.h" |
11 #include "remoting/host/screen_controls.h" | 12 #include "remoting/host/screen_controls.h" |
12 #include "remoting/protocol/fake_desktop_capturer.h" | 13 #include "remoting/protocol/fake_desktop_capturer.h" |
13 | 14 |
14 namespace remoting { | 15 namespace remoting { |
15 | 16 |
16 class FakeInputInjector : public InputInjector, | 17 class FakeInputInjector : public InputInjector, |
17 public base::SupportsWeakPtr<FakeInputInjector> { | 18 public base::SupportsWeakPtr<FakeInputInjector> { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_; | 125 protocol::FakeDesktopCapturer::FrameGenerator frame_generator_; |
125 | 126 |
126 base::WeakPtr<FakeDesktopEnvironment> last_desktop_environment_; | 127 base::WeakPtr<FakeDesktopEnvironment> last_desktop_environment_; |
127 | 128 |
128 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); | 129 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace remoting | 132 } // namespace remoting |
132 | 133 |
133 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ | 134 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |