| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/host_window_proxy.h" | 5 #include "remoting/host/host_window_proxy.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 11 #include "remoting/host/client_session_control.h" | 12 #include "remoting/host/client_session_control.h" |
| 12 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 13 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 | 16 |
| 16 // Runs an instance of |HostWindow| on the |ui_task_runner_| thread. | 17 // Runs an instance of |HostWindow| on the |ui_task_runner_| thread. |
| 17 class HostWindowProxy::Core | 18 class HostWindowProxy::Core |
| 18 : public base::RefCountedThreadSafe<Core>, | 19 : public base::RefCountedThreadSafe<Core>, |
| 19 public ClientSessionControl { | 20 public ClientSessionControl { |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 if (client_session_control_.get()) | 177 if (client_session_control_.get()) |
| 177 client_session_control_->SetDisableInputs(disable_inputs); | 178 client_session_control_->SetDisableInputs(disable_inputs); |
| 178 } | 179 } |
| 179 | 180 |
| 180 void HostWindowProxy::Core::ResetVideoPipeline() { | 181 void HostWindowProxy::Core::ResetVideoPipeline() { |
| 181 // ResetVideoPipeline is only used by HostExtensionSession implementations. | 182 // ResetVideoPipeline is only used by HostExtensionSession implementations. |
| 182 NOTREACHED(); | 183 NOTREACHED(); |
| 183 } | 184 } |
| 184 | 185 |
| 185 } // namespace remoting | 186 } // namespace remoting |
| OLD | NEW |