Index: webrtc/modules/desktop_capture/cropping_window_capturer.cc |
diff --git a/webrtc/modules/desktop_capture/cropping_window_capturer.cc b/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
index 71c5beac2b78b29022ea51add5b78d78576cddfd..2968978e2e406a85e63be4f535bccaafb203ae7b 100644 |
--- a/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
+++ b/webrtc/modules/desktop_capture/cropping_window_capturer.cc |
@@ -58,20 +58,20 @@ void CroppingWindowCapturer::SetExcludedWindow(WindowId window) { |
} |
} |
-bool CroppingWindowCapturer::GetWindowList(WindowList* windows) { |
- return window_capturer_->GetWindowList(windows); |
+bool CroppingWindowCapturer::GetSourceList(SourceList* sources) { |
+ return window_capturer_->GetSourceList(sources); |
} |
-bool CroppingWindowCapturer::SelectWindow(WindowId id) { |
- if (window_capturer_->SelectWindow(id)) { |
+bool CroppingWindowCapturer::SelectSource(SourceId id) { |
+ if (window_capturer_->SelectSource(id)) { |
selected_window_ = id; |
return true; |
} |
return false; |
} |
-bool CroppingWindowCapturer::BringSelectedWindowToFront() { |
- return window_capturer_->BringSelectedWindowToFront(); |
+bool CroppingWindowCapturer::FocusOnSelectedSource() { |
+ return window_capturer_->FocusOnSelectedSource(); |
} |
void CroppingWindowCapturer::OnCaptureResult( |