OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include <string.h> | 11 #include <string.h> |
12 | 12 |
13 #include <algorithm> | 13 #include <algorithm> |
14 #include <initializer_list> | 14 #include <initializer_list> |
15 #include <memory> | 15 #include <memory> |
16 #include <utility> | 16 #include <utility> |
17 | 17 |
18 #include "webrtc/modules/desktop_capture/screen_capturer.h" | 18 #include "webrtc/modules/desktop_capture/screen_capturer.h" |
19 | 19 |
20 #include "testing/gmock/include/gmock/gmock.h" | 20 #include "webrtc/test/gmock.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "webrtc/test/gtest.h" |
22 #include "webrtc/base/checks.h" | 22 #include "webrtc/base/checks.h" |
23 #include "webrtc/base/constructormagic.h" | 23 #include "webrtc/base/constructormagic.h" |
24 #include "webrtc/base/logging.h" | 24 #include "webrtc/base/logging.h" |
25 #include "webrtc/modules/desktop_capture/rgba_color.h" | 25 #include "webrtc/modules/desktop_capture/rgba_color.h" |
26 #include "webrtc/modules/desktop_capture/desktop_capture_options.h" | 26 #include "webrtc/modules/desktop_capture/desktop_capture_options.h" |
27 #include "webrtc/modules/desktop_capture/desktop_frame.h" | 27 #include "webrtc/modules/desktop_capture/desktop_frame.h" |
28 #include "webrtc/modules/desktop_capture/desktop_region.h" | 28 #include "webrtc/modules/desktop_capture/desktop_region.h" |
29 #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" | 29 #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" |
30 #include "webrtc/modules/desktop_capture/screen_drawer.h" | 30 #include "webrtc/modules/desktop_capture/screen_drawer.h" |
31 #include "webrtc/system_wrappers/include/sleep.h" | 31 #include "webrtc/system_wrappers/include/sleep.h" |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 DISABLED_MaybeCaptureUpdatedRegionWithDirectxCapturer) { | 400 DISABLED_MaybeCaptureUpdatedRegionWithDirectxCapturer) { |
401 // Even DirectX capturer is not supported in current system, we should be able | 401 // Even DirectX capturer is not supported in current system, we should be able |
402 // to select a usable capturer. | 402 // to select a usable capturer. |
403 MaybeCreateDirectxCapturer(); | 403 MaybeCreateDirectxCapturer(); |
404 TestCaptureUpdatedRegion(); | 404 TestCaptureUpdatedRegion(); |
405 } | 405 } |
406 | 406 |
407 #endif // defined(WEBRTC_WIN) | 407 #endif // defined(WEBRTC_WIN) |
408 | 408 |
409 } // namespace webrtc | 409 } // namespace webrtc |
OLD | NEW |