OopAsh: make Ash share the bounds of the caption buttons with clients.
This avoids some recalculations (chances for bugs) in BrowserNonClientFrameViewAsh. The bounds are horizontally inverted (i.e. they are relative to the top right of the frame) to minimize the number of times they need to be updated when resizing the window and the likelihood of ephemeral inconsistencies. Also fix the registered type of kRestoreBoundsOverrideKey. Since it was registered as a primitive, the address itself would get copied across processes. Bug: 854704 Change-Id: Iedd4eb4dfb2172f7a9ba66bbc542db33633aaf77 Reviewed-on: https://chromium-review.googlesource.com/1144058Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Commit-Queue: Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#577604}
Showing
Please register or sign in to comment