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/client_session.h" | 5 #include "remoting/host/client_session.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 12 #include "build/build_config.h" |
12 #include "remoting/base/capabilities.h" | 13 #include "remoting/base/capabilities.h" |
13 #include "remoting/base/logging.h" | 14 #include "remoting/base/logging.h" |
14 #include "remoting/codec/audio_encoder.h" | 15 #include "remoting/codec/audio_encoder.h" |
15 #include "remoting/codec/audio_encoder_opus.h" | 16 #include "remoting/codec/audio_encoder_opus.h" |
16 #include "remoting/codec/audio_encoder_verbatim.h" | 17 #include "remoting/codec/audio_encoder_verbatim.h" |
17 #include "remoting/host/audio_capturer.h" | 18 #include "remoting/host/audio_capturer.h" |
18 #include "remoting/host/audio_pump.h" | 19 #include "remoting/host/audio_pump.h" |
19 #include "remoting/host/desktop_capturer_proxy.h" | 20 #include "remoting/host/desktop_capturer_proxy.h" |
20 #include "remoting/host/desktop_environment.h" | 21 #include "remoting/host/desktop_environment.h" |
21 #include "remoting/host/host_extension_session.h" | 22 #include "remoting/host/host_extension_session.h" |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 base::ThreadTaskRunnerHandle::Get())); | 492 base::ThreadTaskRunnerHandle::Get())); |
492 } | 493 } |
493 | 494 |
494 void ClientSession::OnScreenSizeChanged(const webrtc::DesktopSize& size) { | 495 void ClientSession::OnScreenSizeChanged(const webrtc::DesktopSize& size) { |
495 DCHECK(CalledOnValidThread()); | 496 DCHECK(CalledOnValidThread()); |
496 mouse_clamping_filter_.set_input_size(size); | 497 mouse_clamping_filter_.set_input_size(size); |
497 mouse_clamping_filter_.set_output_size(size); | 498 mouse_clamping_filter_.set_output_size(size); |
498 } | 499 } |
499 | 500 |
500 } // namespace remoting | 501 } // namespace remoting |
OLD | NEW |