OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "base/process/process.h" | 11 #include "base/process/process.h" |
12 #include "base/process/process_handle.h" | 12 #include "base/process/process_handle.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "ipc/ipc_channel.h" | 14 #include "ipc/ipc_channel.h" |
15 #include "ipc/ipc_channel_proxy.h" | 15 #include "ipc/ipc_channel_proxy.h" |
16 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
18 #include "ipc/ipc_platform_file.h" | 18 #include "ipc/ipc_platform_file.h" |
19 #include "remoting/base/auto_thread.h" | 19 #include "remoting/base/auto_thread.h" |
20 #include "remoting/base/auto_thread_task_runner.h" | 20 #include "remoting/base/auto_thread_task_runner.h" |
21 #include "remoting/base/constants.h" | 21 #include "remoting/base/constants.h" |
22 #include "remoting/host/chromoting_messages.h" | 22 #include "remoting/host/chromoting_messages.h" |
23 #include "remoting/host/desktop_process.h" | 23 #include "remoting/host/desktop_process.h" |
24 #include "remoting/host/desktop_session.h" | 24 #include "remoting/host/desktop_session.h" |
25 #include "remoting/host/desktop_session_connector.h" | 25 #include "remoting/host/desktop_session_connector.h" |
26 #include "remoting/host/desktop_session_proxy.h" | 26 #include "remoting/host/desktop_session_proxy.h" |
27 #include "remoting/host/fake_desktop_capturer.h" | |
28 #include "remoting/host/fake_mouse_cursor_monitor.h" | 27 #include "remoting/host/fake_mouse_cursor_monitor.h" |
29 #include "remoting/host/host_mock_objects.h" | 28 #include "remoting/host/host_mock_objects.h" |
30 #include "remoting/host/ipc_desktop_environment.h" | 29 #include "remoting/host/ipc_desktop_environment.h" |
| 30 #include "remoting/protocol/fake_desktop_capturer.h" |
31 #include "remoting/protocol/protocol_mock_objects.h" | 31 #include "remoting/protocol/protocol_mock_objects.h" |
32 #include "remoting/protocol/test_event_matchers.h" | 32 #include "remoting/protocol/test_event_matchers.h" |
33 #include "testing/gmock/include/gmock/gmock.h" | 33 #include "testing/gmock/include/gmock/gmock.h" |
34 #include "testing/gtest/include/gtest/gtest.h" | 34 #include "testing/gtest/include/gtest/gtest.h" |
35 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 35 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
36 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" | 36 #include "third_party/webrtc/modules/desktop_capture/desktop_region.h" |
37 #include "third_party/webrtc/modules/desktop_capture/screen_capturer_mock_object
s.h" | 37 #include "third_party/webrtc/modules/desktop_capture/screen_capturer_mock_object
s.h" |
38 | 38 |
39 using testing::_; | 39 using testing::_; |
40 using testing::AnyNumber; | 40 using testing::AnyNumber; |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 .WillOnce(InvokeWithoutArgs( | 734 .WillOnce(InvokeWithoutArgs( |
735 this, &IpcDesktopEnvironmentTest::DeleteDesktopEnvironment)); | 735 this, &IpcDesktopEnvironmentTest::DeleteDesktopEnvironment)); |
736 | 736 |
737 // Change the desktop resolution. | 737 // Change the desktop resolution. |
738 screen_controls_->SetScreenResolution(ScreenResolution( | 738 screen_controls_->SetScreenResolution(ScreenResolution( |
739 webrtc::DesktopSize(100, 100), | 739 webrtc::DesktopSize(100, 100), |
740 webrtc::DesktopVector(96, 96))); | 740 webrtc::DesktopVector(96, 96))); |
741 } | 741 } |
742 | 742 |
743 } // namespace remoting | 743 } // namespace remoting |
OLD | NEW |