commit | 10b40b6ce991f6787ab90a882acdffa311130e9c | [log] [tgz] |
---|---|---|
author | Christopher Cameron <[email protected]> | Wed Oct 10 22:11:17 2018 |
committer | Commit Bot <[email protected]> | Wed Oct 10 22:11:17 2018 |
tree | 81c0bf25b3f6ef3e4240a7e54895df897cb4bdf2 | |
parent | 88278acbe665dd77c5e0352b537e47be1459ff3e [diff] |
RemoteMacViews: Clean up SetBounds and SetSize Remove the host-side function GetBoundsOffsetForParent, and pass the one parameter that it needs from the host-side, PositionWindowInScreenCoordinates, as a parameter during initialization (over mojo). Move the computation of the parent offset over to the viewer process. Move the implementation of the function NativeWidgetMac::CenterWindow from the host-side to the viewer-side, with the size argument passed over mojo. Bug: 859152 Change-Id: I48b7a3485637383a9f6dc6a3812b4c25d45a3754 Reviewed-on: https://chromium-review.googlesource.com/c/1272679 Commit-Queue: ccameron <[email protected]> Reviewed-by: Robert Sesek <[email protected]> Reviewed-by: Elly Fong-Jones <[email protected]> Cr-Commit-Position: refs/heads/master@{#598534}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .