| 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 |
| 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ | 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ |
| 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ | 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 | 15 |
| 16 #include "webrtc/modules/desktop_capture/screen_capturer.h" | 16 #include "webrtc/modules/desktop_capture/screen_capturer.h" |
| 17 | 17 |
| 18 #include <windows.h> | 18 #include <windows.h> |
| 19 | 19 |
| 20 #include "webrtc/base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
| 21 #include "webrtc/base/scoped_ptr.h" | |
| 22 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" | 21 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" |
| 23 #include "webrtc/modules/desktop_capture/screen_capturer_helper.h" | 22 #include "webrtc/modules/desktop_capture/screen_capturer_helper.h" |
| 24 #include "webrtc/modules/desktop_capture/shared_desktop_frame.h" | 23 #include "webrtc/modules/desktop_capture/shared_desktop_frame.h" |
| 25 #include "webrtc/modules/desktop_capture/win/scoped_thread_desktop.h" | 24 #include "webrtc/modules/desktop_capture/win/scoped_thread_desktop.h" |
| 26 | 25 |
| 27 namespace webrtc { | 26 namespace webrtc { |
| 28 | 27 |
| 29 class Differ; | 28 class Differ; |
| 30 | 29 |
| 31 // ScreenCapturerWinGdi captures 32bit RGB using GDI. | 30 // ScreenCapturerWinGdi captures 32bit RGB using GDI. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 86 |
| 88 // Used to suppress duplicate logging of SetThreadExecutionState errors. | 87 // Used to suppress duplicate logging of SetThreadExecutionState errors. |
| 89 bool set_thread_execution_state_failed_; | 88 bool set_thread_execution_state_failed_; |
| 90 | 89 |
| 91 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi); | 90 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi); |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 } // namespace webrtc | 93 } // namespace webrtc |
| 95 | 94 |
| 96 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ | 95 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ |
| OLD | NEW |