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_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/single_thread_task_runner.h" |
9 #include "remoting/host/basic_desktop_environment.h" | 10 #include "remoting/host/basic_desktop_environment.h" |
10 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_types.h" | 11 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_types.h" |
11 | 12 |
12 namespace remoting { | 13 namespace remoting { |
13 | 14 |
14 // Passed to the ChromotingHost to remote an individual window's contents, | 15 // Passed to the ChromotingHost to remote an individual window's contents, |
15 // rather than a whole desktop. | 16 // rather than a whole desktop. |
16 class SingleWindowDesktopEnvironmentFactory | 17 class SingleWindowDesktopEnvironmentFactory |
17 : public BasicDesktopEnvironmentFactory { | 18 : public BasicDesktopEnvironmentFactory { |
18 public: | 19 public: |
(...skipping 12 matching lines...) Expand all Loading... |
31 | 32 |
32 private: | 33 private: |
33 webrtc::WindowId window_id_; | 34 webrtc::WindowId window_id_; |
34 | 35 |
35 DISALLOW_COPY_AND_ASSIGN(SingleWindowDesktopEnvironmentFactory); | 36 DISALLOW_COPY_AND_ASSIGN(SingleWindowDesktopEnvironmentFactory); |
36 }; | 37 }; |
37 | 38 |
38 } // namespace remoting | 39 } // namespace remoting |
39 | 40 |
40 #endif // REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ | 41 #endif // REMOTING_HOST_SINGLE_WINDOW_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |