| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // Rectangle describing the bounds of the desktop device context, relative to | 77 // Rectangle describing the bounds of the desktop device context, relative to |
| 78 // the primary display's top-left. | 78 // the primary display's top-left. |
| 79 DesktopRect desktop_dc_rect_; | 79 DesktopRect desktop_dc_rect_; |
| 80 | 80 |
| 81 // Class to calculate the difference between two screen bitmaps. | 81 // Class to calculate the difference between two screen bitmaps. |
| 82 std::unique_ptr<Differ> differ_; | 82 std::unique_ptr<Differ> differ_; |
| 83 | 83 |
| 84 HMODULE dwmapi_library_ = NULL; | 84 HMODULE dwmapi_library_ = NULL; |
| 85 DwmEnableCompositionFunc composition_func_ = nullptr; | 85 DwmEnableCompositionFunc composition_func_ = nullptr; |
| 86 | 86 |
| 87 // Used to suppress duplicate logging of SetThreadExecutionState errors. | |
| 88 bool set_thread_execution_state_failed_ = false; | |
| 89 | |
| 90 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi); | 87 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi); |
| 91 }; | 88 }; |
| 92 | 89 |
| 93 } // namespace webrtc | 90 } // namespace webrtc |
| 94 | 91 |
| 95 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ | 92 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ |
| OLD | NEW |