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

Unified Diff: webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h

Issue 2479553006: Remove GetWindowList / GetScreenList and SelectWindow / SelectScreen from WebRTC (Closed)
Patch Set: Resolve review comments Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h
diff --git a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h
index 1d08c1cf2f12e5410915057d100055a3ebf8876c..fc99bf11a4c4c8b1faecc8792c4e538377bebbcc 100644
--- a/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h
+++ b/webrtc/modules/desktop_capture/win/screen_capturer_win_gdi.h
@@ -40,8 +40,8 @@ class ScreenCapturerWinGdi : public ScreenCapturer {
void SetSharedMemoryFactory(
std::unique_ptr<SharedMemoryFactory> shared_memory_factory) override;
void CaptureFrame() override;
- bool GetScreenList(ScreenList* screens) override;
- bool SelectScreen(ScreenId id) override;
+ bool GetSourceList(SourceList* sources) override;
+ bool SelectSource(SourceId id) override;
private:
typedef HRESULT (WINAPI * DwmEnableCompositionFunc)(UINT);
@@ -58,7 +58,7 @@ class ScreenCapturerWinGdi : public ScreenCapturer {
Callback* callback_ = nullptr;
std::unique_ptr<SharedMemoryFactory> shared_memory_factory_;
- ScreenId current_screen_id_ = kFullDesktopScreenId;
+ SourceId current_screen_id_ = kFullDesktopScreenId;
std::wstring current_device_key_;
ScopedThreadDesktop desktop_;

Powered by Google App Engine
This is Rietveld 408576698