OLD | NEW |
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 Callback* callback_; | 82 Callback* callback_; |
83 | 83 |
84 // HWND and HDC for the currently selected window or NULL if window is not | 84 // HWND and HDC for the currently selected window or NULL if window is not |
85 // selected. | 85 // selected. |
86 HWND window_; | 86 HWND window_; |
87 | 87 |
88 DesktopSize previous_size_; | 88 DesktopSize previous_size_; |
89 | 89 |
90 AeroChecker aero_checker_; | 90 AeroChecker aero_checker_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(WindowCapturerWin); | 92 RTC_DISALLOW_COPY_AND_ASSIGN(WindowCapturerWin); |
93 }; | 93 }; |
94 | 94 |
95 WindowCapturerWin::WindowCapturerWin() | 95 WindowCapturerWin::WindowCapturerWin() |
96 : callback_(NULL), | 96 : callback_(NULL), |
97 window_(NULL) { | 97 window_(NULL) { |
98 } | 98 } |
99 | 99 |
100 WindowCapturerWin::~WindowCapturerWin() { | 100 WindowCapturerWin::~WindowCapturerWin() { |
101 } | 101 } |
102 | 102 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 } | 234 } |
235 | 235 |
236 } // namespace | 236 } // namespace |
237 | 237 |
238 // static | 238 // static |
239 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { | 239 WindowCapturer* WindowCapturer::Create(const DesktopCaptureOptions& options) { |
240 return new WindowCapturerWin(); | 240 return new WindowCapturerWin(); |
241 } | 241 } |
242 | 242 |
243 } // namespace webrtc | 243 } // namespace webrtc |
OLD | NEW |