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

Side by Side Diff: webrtc/modules/desktop_capture/window_capturer_mac.mm

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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
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
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 private: 60 private:
61 Callback* callback_; 61 Callback* callback_;
62 62
63 // The window being captured. 63 // The window being captured.
64 CGWindowID window_id_; 64 CGWindowID window_id_;
65 65
66 rtc::scoped_refptr<FullScreenChromeWindowDetector> 66 rtc::scoped_refptr<FullScreenChromeWindowDetector>
67 full_screen_chrome_window_detector_; 67 full_screen_chrome_window_detector_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(WindowCapturerMac); 69 RTC_DISALLOW_COPY_AND_ASSIGN(WindowCapturerMac);
70 }; 70 };
71 71
72 WindowCapturerMac::WindowCapturerMac(rtc::scoped_refptr< 72 WindowCapturerMac::WindowCapturerMac(rtc::scoped_refptr<
73 FullScreenChromeWindowDetector> full_screen_chrome_window_detector) 73 FullScreenChromeWindowDetector> full_screen_chrome_window_detector)
74 : callback_(NULL), 74 : callback_(NULL),
75 window_id_(0), 75 window_id_(0),
76 full_screen_chrome_window_detector_(full_screen_chrome_window_detector) { 76 full_screen_chrome_window_detector_(full_screen_chrome_window_detector) {
77 } 77 }
78 78
79 WindowCapturerMac::~WindowCapturerMac() { 79 WindowCapturerMac::~WindowCapturerMac() {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 } 232 }
233 233
234 } // namespace 234 } // namespace
235 235
236 // static 236 // static
237 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { 237 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) {
238 return new WindowCapturerMac(options.full_screen_chrome_window_detector()); 238 return new WindowCapturerMac(options.full_screen_chrome_window_detector());
239 } 239 }
240 240
241 } // namespace webrtc 241 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/win/window_capture_utils.h ('k') | webrtc/modules/desktop_capture/window_capturer_null.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698