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

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

Issue 1909593002: Cleanup webrtc/modules/desktop_capture (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 months 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
(Empty)
1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include "webrtc/modules/desktop_capture/screen_capturer.h"
12
13 #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
14
15 namespace webrtc {
16
17 ScreenCapturer* ScreenCapturer::Create() {
18 return Create(DesktopCaptureOptions::CreateDefault());
19 }
20
21 #if defined(WEBRTC_LINUX)
22 ScreenCapturer* ScreenCapturer::CreateWithXDamage(
23 bool use_update_notifications) {
24 DesktopCaptureOptions options;
25 options.set_use_update_notifications(use_update_notifications);
26 return Create(options);
27 }
28 #elif defined(WEBRTC_WIN)
29 ScreenCapturer* ScreenCapturer::CreateWithDisableAero(bool disable_effects) {
30 DesktopCaptureOptions options;
31 options.set_disable_effects(disable_effects);
32 return Create(options);
33 }
34 #endif
35
36 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/screen_capturer.h ('k') | webrtc/modules/desktop_capture/screen_capturer_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698