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

Side by Side Diff: webrtc/modules/desktop_capture/win/screen_capturer_win_directx.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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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_DIRECTX_H_ 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_DIRECTX_H_
12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_DIRECTX_H_ 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_DIRECTX_H_
13 13
14 #include <D3DCommon.h> 14 #include <D3DCommon.h>
15 15
16 #include <memory> 16 #include <memory>
17 #include <vector> 17 #include <vector>
18 18
19 #include "webrtc/base/scoped_ref_ptr.h"
20 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
19 #include "webrtc/modules/desktop_capture/desktop_capture_options.h" 21 #include "webrtc/modules/desktop_capture/desktop_capture_options.h"
20 #include "webrtc/modules/desktop_capture/desktop_capturer.h"
21 #include "webrtc/modules/desktop_capture/desktop_region.h" 22 #include "webrtc/modules/desktop_capture/desktop_region.h"
22 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h" 23 #include "webrtc/modules/desktop_capture/screen_capture_frame_queue.h"
23 #include "webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h" 24 #include "webrtc/modules/desktop_capture/win/dxgi_duplicator_controller.h"
24 #include "webrtc/modules/desktop_capture/win/dxgi_frame.h" 25 #include "webrtc/modules/desktop_capture/win/dxgi_frame.h"
25 #include "webrtc/rtc_base/scoped_ref_ptr.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 // ScreenCapturerWinDirectx captures 32bit RGBA using DirectX. 29 // ScreenCapturerWinDirectx captures 32bit RGBA using DirectX.
30 class ScreenCapturerWinDirectx : public DesktopCapturer { 30 class ScreenCapturerWinDirectx : public DesktopCapturer {
31 public: 31 public:
32 using D3dInfo = DxgiDuplicatorController::D3dInfo; 32 using D3dInfo = DxgiDuplicatorController::D3dInfo;
33 33
34 // Whether the system supports DirectX based capturing. 34 // Whether the system supports DirectX based capturing.
35 static bool IsSupported(); 35 static bool IsSupported();
(...skipping 26 matching lines...) Expand all
62 std::unique_ptr<SharedMemoryFactory> shared_memory_factory_; 62 std::unique_ptr<SharedMemoryFactory> shared_memory_factory_;
63 Callback* callback_ = nullptr; 63 Callback* callback_ = nullptr;
64 SourceId current_screen_id_ = kFullDesktopScreenId; 64 SourceId current_screen_id_ = kFullDesktopScreenId;
65 65
66 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinDirectx); 66 RTC_DISALLOW_COPY_AND_ASSIGN(ScreenCapturerWinDirectx);
67 }; 67 };
68 68
69 } // namespace webrtc 69 } // namespace webrtc
70 70
71 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_DIRECTX_H_ 71 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_WIN_SCREEN_CAPTURER_WIN_DIRECTX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698