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

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

Issue 2436503004: Enable clang style plugin in webrtc/modules/desktop_capture (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/desktop_capture_options.h" 11 #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
12 12
13 namespace webrtc { 13 namespace webrtc {
14 14
15 DesktopCaptureOptions::DesktopCaptureOptions() {}
16 DesktopCaptureOptions::DesktopCaptureOptions(
17 const DesktopCaptureOptions& options) = default;
18 DesktopCaptureOptions::DesktopCaptureOptions(DesktopCaptureOptions&& options) =
19 default;
20 DesktopCaptureOptions::~DesktopCaptureOptions() {}
21
22 DesktopCaptureOptions& DesktopCaptureOptions::operator=(
23 const DesktopCaptureOptions& options) = default;
24 DesktopCaptureOptions& DesktopCaptureOptions::operator=(
25 DesktopCaptureOptions&& options) = default;
26
15 // static 27 // static
16 DesktopCaptureOptions DesktopCaptureOptions::CreateDefault() { 28 DesktopCaptureOptions DesktopCaptureOptions::CreateDefault() {
17 DesktopCaptureOptions result; 29 DesktopCaptureOptions result;
18 #if defined(USE_X11) 30 #if defined(USE_X11)
19 result.set_x_display(SharedXDisplay::CreateDefault()); 31 result.set_x_display(SharedXDisplay::CreateDefault());
20 #endif 32 #endif
21 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) 33 #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
22 result.set_configuration_monitor(new DesktopConfigurationMonitor()); 34 result.set_configuration_monitor(new DesktopConfigurationMonitor());
23 result.set_full_screen_chrome_window_detector( 35 result.set_full_screen_chrome_window_detector(
24 new FullScreenChromeWindowDetector()); 36 new FullScreenChromeWindowDetector());
25 #endif 37 #endif
26 return result; 38 return result;
27 } 39 }
28 40
29 } // namespace webrtc 41 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/desktop_capture_options.h ('k') | webrtc/modules/desktop_capture/desktop_frame_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698