| 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 #include "remoting/host/me2me_desktop_environment.h" | 5 #include "remoting/host/me2me_desktop_environment.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "remoting/base/logging.h" | 13 #include "remoting/base/logging.h" |
| 14 #include "remoting/host/client_session_control.h" | 14 #include "remoting/host/client_session_control.h" |
| 15 #include "remoting/host/curtain_mode.h" | 15 #include "remoting/host/curtain_mode.h" |
| 16 #include "remoting/host/desktop_resizer.h" | 16 #include "remoting/host/desktop_resizer.h" |
| 17 #include "remoting/host/host_window.h" | 17 #include "remoting/host/host_window.h" |
| 18 #include "remoting/host/host_window.h" | 18 #include "remoting/host/host_window.h" |
| 19 #include "remoting/host/host_window_proxy.h" | 19 #include "remoting/host/host_window_proxy.h" |
| 20 #include "remoting/host/input_injector.h" | 20 #include "remoting/host/input_injector.h" |
| 21 #include "remoting/host/local_input_monitor.h" | 21 #include "remoting/host/local_input_monitor.h" |
| 22 #include "remoting/host/resizing_host_observer.h" | 22 #include "remoting/host/resizing_host_observer.h" |
| 23 #include "remoting/host/screen_controls.h" | 23 #include "remoting/host/screen_controls.h" |
| 24 #include "remoting/protocol/capability_names.h" | 24 #include "remoting/protocol/capability_names.h" |
| 25 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" | 25 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" |
| 26 #include "third_party/webrtc/modules/desktop_capture/screen_capturer.h" | 26 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h" |
| 27 | 27 |
| 28 #if defined(OS_POSIX) | 28 #if defined(OS_POSIX) |
| 29 #include <sys/types.h> | 29 #include <sys/types.h> |
| 30 #include <unistd.h> | 30 #include <unistd.h> |
| 31 #endif // defined(OS_POSIX) | 31 #endif // defined(OS_POSIX) |
| 32 | 32 |
| 33 namespace remoting { | 33 namespace remoting { |
| 34 | 34 |
| 35 Me2MeDesktopEnvironment::~Me2MeDesktopEnvironment() { | 35 Me2MeDesktopEnvironment::~Me2MeDesktopEnvironment() { |
| 36 DCHECK(caller_task_runner()->BelongsToCurrentThread()); | 36 DCHECK(caller_task_runner()->BelongsToCurrentThread()); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 return std::move(desktop_environment); | 158 return std::move(desktop_environment); |
| 159 } | 159 } |
| 160 | 160 |
| 161 void Me2MeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) { | 161 void Me2MeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) { |
| 162 DCHECK(caller_task_runner()->BelongsToCurrentThread()); | 162 DCHECK(caller_task_runner()->BelongsToCurrentThread()); |
| 163 | 163 |
| 164 curtain_enabled_ = enable; | 164 curtain_enabled_ = enable; |
| 165 } | 165 } |
| 166 | 166 |
| 167 } // namespace remoting | 167 } // namespace remoting |
| OLD | NEW |