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

Unified Diff: webrtc/modules/desktop_capture/cropping_window_capturer.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
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/cropping_window_capturer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/desktop_capture/cropping_window_capturer.h
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.h b/webrtc/modules/desktop_capture/cropping_window_capturer.h
index 768e1ee2e6811cab23de1ff0f82f8d6bf8cd36f3..a2c6c2ff1a3d06f577c21c70d06c7f2e85896729 100644
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.h
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.h
@@ -34,11 +34,9 @@ class CroppingWindowCapturer : public WindowCapturer,
std::unique_ptr<SharedMemoryFactory> shared_memory_factory) override;
void CaptureFrame() override;
void SetExcludedWindow(WindowId window) override;
-
- // WindowCapturer implementation.
- bool GetWindowList(WindowList* windows) override;
- bool SelectWindow(WindowId id) override;
- bool BringSelectedWindowToFront() override;
+ bool GetSourceList(SourceList* sources) override;
+ bool SelectSource(SourceId id) override;
+ bool FocusOnSelectedSource() override;
// DesktopCapturer::Callback implementation, passed to |screen_capturer_| to
// intercept the capture result.
@@ -67,7 +65,7 @@ class CroppingWindowCapturer : public WindowCapturer,
DesktopCapturer::Callback* callback_;
std::unique_ptr<WindowCapturer> window_capturer_;
std::unique_ptr<ScreenCapturer> screen_capturer_;
- WindowId selected_window_;
+ SourceId selected_window_;
WindowId excluded_window_;
};
« no previous file with comments | « no previous file | webrtc/modules/desktop_capture/cropping_window_capturer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698