This change adds one temporary use_desktop_relative_cursor_position_ flag in DesktopAndCursorComposer. It's automatically set according to the consturctor used. When the flag is true, DesktopAndCursorComposer uses the newly added MouseCursorMonitor::Callback::OnCursorPosition(), which is the absolute position of the cursor in the full desktop coordinate, and DesktopCapturer::IsOccluded() to decide whether the mouse cursor should be drawn on the DesktopFrame. When the flag is false, the behavior of DesktopAndCursorComposer is unchanged. This flag will be removed together with the deprecated constructor of DesktopAndCursorComposer. Currently the new DesktopAndCursorComposer constructor is not used, so no behavior change is expected. Bug: webrtc:7950 Change-Id: I7235e32fa325a21c4a2594613764a9f81d76dfbc Reviewed-on: https://chromium-review.googlesource.com/641075 Commit-Queue: Zijie He <zijiehe@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#19592}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.