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

Side by Side Diff: webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 months 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) 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 <windows.h> 16 #include <windows.h>
17 17
18 #include "webrtc/base/constructormagic.h"
18 #include "webrtc/modules/desktop_capture/desktop_capturer.h" 19 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
19 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" 20 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h"
20 #include "webrtc/modules/desktop_capture/shared_desktop_frame.h" 21 #include "webrtc/modules/desktop_capture/shared_desktop_frame.h"
21 #include "webrtc/modules/desktop_capture/win/scoped_thread_desktop.h" 22 #include "webrtc/modules/desktop_capture/win/scoped_thread_desktop.h"
22 #include "webrtc/rtc_base/constructormagic.h"
23 23
24 namespace webrtc { 24 namespace webrtc {
25 25
26 // ScreenCapturerWinGdi captures 32bit RGB using GDI. 26 // ScreenCapturerWinGdi captures 32bit RGB using GDI.
27 // 27 //
28 // ScreenCapturerWinGdi is double-buffered as required by ScreenCapturer. 28 // ScreenCapturerWinGdi is double-buffered as required by ScreenCapturer.
29 // This class does not detect DesktopFrame::updated_region(), the field is 29 // This class does not detect DesktopFrame::updated_region(), the field is
30 // always set to the entire frame rectangle. ScreenCapturerDifferWrapper should 30 // always set to the entire frame rectangle. ScreenCapturerDifferWrapper should
31 // be used if that functionality is necessary. 31 // be used if that functionality is necessary.
32 class ScreenCapturerWinGdi : public DesktopCapturer { 32 class ScreenCapturerWinGdi : public DesktopCapturer {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 HMODULE dwmapi_library_ = NULL; 76 HMODULE dwmapi_library_ = NULL;
77 DwmEnableCompositionFunc composition_func_ = nullptr; 77 DwmEnableCompositionFunc composition_func_ = nullptr;
78 78
79 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi); 79 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinGdi);
80 }; 80 };
81 81
82 } // namespace webrtc 82 } // namespace webrtc
83 83
84 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_ 84 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_GDI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698