Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Side by Side Diff: webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc

Issue 2490063002: Remove ScreenCapturer and WindowCapturer (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "webrtc/modules/desktop_capture/screen_capturer.h"
12
13 #include <ApplicationServices/ApplicationServices.h> 11 #include <ApplicationServices/ApplicationServices.h>
14 12
15 #include <memory> 13 #include <memory>
16 #include <ostream> 14 #include <ostream>
17 15
16 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
18 #include "webrtc/modules/desktop_capture/desktop_capture_options.h" 17 #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
19 #include "webrtc/modules/desktop_capture/desktop_frame.h" 18 #include "webrtc/modules/desktop_capture/desktop_frame.h"
20 #include "webrtc/modules/desktop_capture/desktop_geometry.h" 19 #include "webrtc/modules/desktop_capture/desktop_geometry.h"
21 #include "webrtc/modules/desktop_capture/desktop_region.h" 20 #include "webrtc/modules/desktop_capture/desktop_region.h"
22 #include "webrtc/modules/desktop_capture/mac/desktop_configuration.h" 21 #include "webrtc/modules/desktop_capture/mac/desktop_configuration.h"
23 #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" 22 #include "webrtc/modules/desktop_capture/screen_capturer_mock_objects.h"
24 #include "webrtc/test/gtest.h" 23 #include "webrtc/test/gtest.h"
25 24
26 using ::testing::_; 25 using ::testing::_;
27 using ::testing::AnyNumber; 26 using ::testing::AnyNumber;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 capturer_->Start(&callback_); 92 capturer_->Start(&callback_);
94 93
95 // Check that we get an initial full-screen updated. 94 // Check that we get an initial full-screen updated.
96 capturer_->CaptureFrame(); 95 capturer_->CaptureFrame();
97 96
98 // Check that subsequent dirty rects are propagated correctly. 97 // Check that subsequent dirty rects are propagated correctly.
99 capturer_->CaptureFrame(); 98 capturer_->CaptureFrame();
100 } 99 }
101 100
102 } // namespace webrtc 101 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer_mac.mm ('k') | webrtc/modules/desktop_capture/screen_capturer_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698