commit | 411582b13a08ca85c19fc5dbba66bcf9ffc157e1 | [log] [tgz] |
---|---|---|
author | Zijie He <zijiehe@google.com> | Mon Nov 06 16:40:51 2017 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 07 01:49:35 2017 +0000 |
tree | 0db6b505e31080f06ef2e2db3c60eb7bcf226fe7 | |
parent | 2bad72a27329ff30ceb9479253f5eb3d21888d25 [diff] |
[Window Capturer] Implement scaling in GetWindowBounds() On Mac OSX system, if retina screen is used, the GetWindowBounds() returns pre-scaled values instead of system coordinates. So this fix considers per-monitor scale-factor, and stretchs the DesktopRect. Bug: chromium:778049 Change-Id: I9dc51e08235eba9b3ef6378eaa15737aa444b0c8 Reviewed-on: https://webrtc-review.googlesource.com/17600 Commit-Queue: Zijie He <zijiehe@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#20578}
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.