Fix multi-monitor support in the screen capturer for Mac.

This feature was broken in r5471.

BUG=361919
R=jiayl@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/12109004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5937 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
sergeyu@chromium.org
2014-04-18 18:22:41 +00:00
parent a596a389ea
commit be7585b150
5 changed files with 23 additions and 18 deletions

View File

@ -59,11 +59,12 @@ struct MacDesktopConfiguration {
const MacDisplayConfiguration* FindDisplayConfigurationById(
CGDirectDisplayID id);
// Bounds of the desktop in Density-Independent Pixels (DIPs).
DesktopRect bounds;
// Bounds of the desktop excluding monitors with DPI settings different from
// the main monitor. In Density-Independent Pixels (DIPs).
DesktopRect primary_bounds;
// Bounds of the desktop in physical pixels.
DesktopRect pixel_bounds;
// Same as primary_bounds, but expressed in physical pixels.
DesktopRect primary_pixel_bounds;
// Scale factor from DIPs to physical pixels.
float dip_to_pixel_scale;