commit | 85e6a4ba1372f21b8648ffaad2fd19a76a8bb316 | [log] [tgz] |
---|---|---|
author | Zijie He <zijiehe@chromium.org> | Tue Aug 29 18:03:46 2017 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 30 01:38:17 2017 +0000 |
tree | 7c79f005a97dacaf18795084dafb7585b9f8fa69 | |
parent | a787702417b1cef9d2ea2354b770f93c3e144528 [diff] |
Use desktop relative mouse cursor position in DesktopAndCursorComposer 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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.