DescriptionNasty hack to pick the right origin for a sheet above an app window.
In r546e2e6931 GetSheetParentBoundsForParentView was added to work around
the presense of dev tools in the view hierarchy when calculating the center
of the web contents view. In an app window there is no dev tools view so
this patch falls back to the parent view's normal bounds.
BUG=
Committed: https://crrev.com/4bc9cfaa94d641be10f1979a347ab50f3dea2b6f
Cr-Commit-Position: refs/heads/master@{#299790}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|