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

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

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
(...skipping 28 matching lines...) Expand all
39 CFRelease(window_id_array); 39 CFRelease(window_id_array);
40 CFRelease(window_array); 40 CFRelease(window_array);
41 41
42 return valid; 42 return valid;
43 } 43 }
44 44
45 class WindowCapturerMac : public WindowCapturer { 45 class WindowCapturerMac : public WindowCapturer {
46 public: 46 public:
47 explicit WindowCapturerMac(rtc::scoped_refptr<FullScreenChromeWindowDetector> 47 explicit WindowCapturerMac(rtc::scoped_refptr<FullScreenChromeWindowDetector>
48 full_screen_chrome_window_detector); 48 full_screen_chrome_window_detector);
49 virtual ~WindowCapturerMac(); 49 ~WindowCapturerMac() override;
50 50
51 // WindowCapturer interface. 51 // WindowCapturer interface.
52 bool GetWindowList(WindowList* windows) override; 52 bool GetWindowList(WindowList* windows) override;
53 bool SelectWindow(WindowId id) override; 53 bool SelectWindow(WindowId id) override;
54 bool BringSelectedWindowToFront() override; 54 bool BringSelectedWindowToFront() override;
55 55
56 // DesktopCapturer interface. 56 // DesktopCapturer interface.
57 void Start(Callback* callback) override; 57 void Start(Callback* callback) override;
58 void CaptureFrame() override; 58 void CaptureFrame() override;
59 59
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 236
237 } // namespace 237 } // namespace
238 238
239 // static 239 // static
240 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { 240 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) {
241 return new WindowCapturerMac(options.full_screen_chrome_window_detector()); 241 return new WindowCapturerMac(options.full_screen_chrome_window_detector());
242 } 242 }
243 243
244 } // namespace webrtc 244 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/window_capturer.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