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

Side by Side Diff: webrtc/modules/desktop_capture/window_capturer_win.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
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 return TRUE; 76 return TRUE;
77 77
78 list->push_back(window); 78 list->push_back(window);
79 79
80 return TRUE; 80 return TRUE;
81 } 81 }
82 82
83 class WindowCapturerWin : public WindowCapturer { 83 class WindowCapturerWin : public WindowCapturer {
84 public: 84 public:
85 WindowCapturerWin(); 85 WindowCapturerWin();
86 virtual ~WindowCapturerWin(); 86 ~WindowCapturerWin() override;
87 87
88 // WindowCapturer interface. 88 // WindowCapturer interface.
89 bool GetWindowList(WindowList* windows) override; 89 bool GetWindowList(WindowList* windows) override;
90 bool SelectWindow(WindowId id) override; 90 bool SelectWindow(WindowId id) override;
91 bool BringSelectedWindowToFront() override; 91 bool BringSelectedWindowToFront() override;
92 92
93 // DesktopCapturer interface. 93 // DesktopCapturer interface.
94 void Start(Callback* callback) override; 94 void Start(Callback* callback) override;
95 void CaptureFrame() override; 95 void CaptureFrame() override;
96 96
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 264 }
265 265
266 } // namespace 266 } // namespace
267 267
268 // static 268 // static
269 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { 269 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) {
270 return new WindowCapturerWin(); 270 return new WindowCapturerWin();
271 } 271 }
272 272
273 } // namespace webrtc 273 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/desktop_capture/window_capturer_null.cc ('k') | webrtc/modules/desktop_capture/window_capturer_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698