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

Unified Diff: webrtc/modules/desktop_capture/window_capturer_null.cc

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/window_capturer_null.cc
diff --git a/webrtc/modules/desktop_capture/window_capturer_null.cc b/webrtc/modules/desktop_capture/window_capturer_null.cc
index 3afe533e2b088631a841e1e07248266b8db6e604..78165134e07e31d2168d1c2229ea8b8dac5f664a 100755
--- a/webrtc/modules/desktop_capture/window_capturer_null.cc
+++ b/webrtc/modules/desktop_capture/window_capturer_null.cc
@@ -24,14 +24,11 @@ class WindowCapturerNull : public WindowCapturer {
WindowCapturerNull();
~WindowCapturerNull() override;
- // WindowCapturer interface.
- bool GetWindowList(WindowList* windows) override;
- bool SelectWindow(WindowId id) override;
- bool BringSelectedWindowToFront() override;
-
// DesktopCapturer interface.
void Start(Callback* callback) override;
void CaptureFrame() override;
+ bool GetSourceList(SourceList* sources) override;
+ bool SelectSource(SourceId id) override;
private:
Callback* callback_ = nullptr;
@@ -42,17 +39,12 @@ class WindowCapturerNull : public WindowCapturer {
WindowCapturerNull::WindowCapturerNull() {}
WindowCapturerNull::~WindowCapturerNull() {}
-bool WindowCapturerNull::GetWindowList(WindowList* windows) {
- // Not implemented yet.
- return false;
-}
-
-bool WindowCapturerNull::SelectWindow(WindowId id) {
+bool WindowCapturerNull::GetSourceList(SourceList* sources) {
// Not implemented yet.
return false;
}
-bool WindowCapturerNull::BringSelectedWindowToFront() {
+bool WindowCapturerNull::SelectSource(SourceId id) {
// Not implemented yet.
return false;
}
« no previous file with comments | « webrtc/modules/desktop_capture/window_capturer_mac.mm ('k') | webrtc/modules/desktop_capture/window_capturer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698