Add a comment to explain the coordinate of GetWindowRectInVirtualScreen()
CroppingWindowCapturer::GetWindowRectInVirtualScreen() expects to return a rectangle in full desktop coordinate. Bug: webrtc:7950 Change-Id: Id1b5de4d655cfc3f375434a696c77029c684880b Reviewed-on: https://chromium-review.googlesource.com/651706 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Zijie He <zijiehe@chromium.org> Cr-Commit-Position: refs/heads/master@{#19700}
This commit is contained in:
parent
51ce0c0d2f
commit
f75daa8cb9
@ -55,7 +55,9 @@ class CroppingWindowCapturer : public DesktopCapturer,
|
||||
virtual bool ShouldUseScreenCapturer() = 0;
|
||||
|
||||
// Returns the window area relative to the top left of the virtual screen
|
||||
// within the bounds of the virtual screen.
|
||||
// within the bounds of the virtual screen. This function should return the
|
||||
// DesktopRect in full desktop coordinates, i.e. the top-left monitor starts
|
||||
// from (0, 0).
|
||||
virtual DesktopRect GetWindowRectInVirtualScreen() = 0;
|
||||
|
||||
WindowId selected_window() const { return selected_window_; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user